Skip to content

Mayandev/flomo-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flomo-cli

flomo-cli

flomo 灵感笔记提供的命令行工具

Install

$ npm install flomo-cli -g
# or yarn
$ yarn global add flomo-cli

Usage

flomo

Config

请先使用下面的命令进行配置 api。如果你在 flomo 的设置里更换了 api,也可以使用 flomo config 命令,重新设置 api 链接。

在哪里查看 api?

$ flomo config

Normal

$ flomo '#tag This is a flow momery from flomo-cli with hash tag.'
# fm is also ok
$ fm '#tag This is a flow momery from flomo-cli with hash tag.'

普通模式下,默认将命令后的字符串内容上传到 flomo 到服务器。

Editor

$ flomo edit

工具提供编辑器模式,输入 flomo edit 启动。

如何多行编辑?

github-flomo-cli-gif

image-20210118105159846

Reference

本工具由 cli-template 提供支持。