Files
..
2020-07-04 22:18:59 +01:00
2020-07-04 22:18:59 +01:00
2020-07-04 22:18:59 +01:00
2020-07-14 16:05:49 +05:30
2020-07-14 16:05:49 +05:30
2020-07-16 13:33:18 +05:30
2020-07-12 15:16:58 +01:00

foam-cli

Foam CLI

oclif Version Downloads/week License

Usage

$ npm install -g foam-cli
$ foam COMMAND
running command...
$ foam (-v|--version|version)
foam-cli/0.2.0 darwin-x64 node-v12.18.0
$ foam --help [COMMAND]
USAGE
  $ foam COMMAND
...

Commands

foam hello [FILE]

describe the command here

USAGE
  $ foam hello [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ foam hello
  hello world from ./src/hello.ts!

See code: src/commands/hello.ts

foam help [COMMAND]

display help for foam

USAGE
  $ foam help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Development

  • Run yarn somewhere in workspace (ideally root, see yarn workspace docs
    • This will automatically symlink all package directories so you're using the local copy
  • In packages/foam-core, run yarn start to rebuild the library on every change
  • In packages/foam-cli, make changes and run with yarn run cli. This should use latest workspace manager changes.