GithubHelp home page GithubHelp logo

flomo-cli's Introduction

flomo-cli

Go codecov

A CLI tool for flomo.

📥 安装

# 支持在不同平台运行
curl -sf https://gobinaries.com/geekdada/flomo-cli | sh

或者Releases 页面下载对应的二进制文件。目前有:

  • flomo-cli-darwin-amd64.gz
  • flomo-cli-freebsd-386.gz
  • flomo-cli-freebsd-amd64.gz
  • flomo-cli-linux-386.gz
  • flomo-cli-linux-amd64.gz
  • flomo-cli-linux-armv5.gz
  • flomo-cli-linux-armv6.gz
  • flomo-cli-linux-armv7.gz
  • flomo-cli-linux-armv8.gz
  • flomo-cli-windows-386.zip
  • flomo-cli-windows-amd64.zip
  • flomo-cli-windows-arm32v7.zip

macOS 系统请使用 flomo-cli-darwin-amd64.gz

👉 使用

添加一条新的墨

$ flomo-cli new --api <YOUR_API> "一条新的墨"

添加一条带标签的墨

$ flomo-cli new --api <YOUR_API> --tag "随手记" "一条新的墨"

🔮 效果

CleanShot 2020-12-24 at 20.27.55@2x.png

使用环境变量来指定 API

$ export FLOMO_API=<YOUR_API>
$ flomo-cli new --tag "随手记" "一条新的墨"

将文本文件添加到浮墨

$ cat memo.txt | flomo-cli new --tag "Quote"

LICENCE

MIT

flomo-cli's People

Contributors

geekdada avatar knowscount avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jiyee

flomo-cli's Issues

💻 macOS support?

👋 Hi there ~

I ran the following command in my command line:

➜  ~ curl -sf https://gobinaries.com/geekdada/flomo-cli | sh

  ==> Downloading github.com/geekdada/flomo-cli@master
  ==> Resolved version master to v0.2.4
  ==> Downloading binary for darwin amd64
  ==> Installing flomo-cli to /usr/local/bin
  ==> Installation complete

however, when I run the given command (in README):

flomo new --api https://flomoapp.com/foo/foo/foo/ "flomo-cli 很酷"

It tells me:

zsh: command not found: flomo

which means the installation was not successful, albeit it told me ==> Installation complete formerly.

I am just wondering, after checking the releases, if there is macOS support for the fact that your script considered my client as darwin amd64 which is kinda mistaken. 🤣


anyway cool project! 🕶

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.