Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

foam-cli

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foam-cli

Foam CLI

  • 0.17.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

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.17.6 linux-x64 node-v16.14.2
$ foam --help [COMMAND]
USAGE
  $ foam COMMAND
...

Commands

foam help [COMMAND]

Display help for foam.

USAGE
  $ foam help [COMMAND]

ARGUMENTS
  COMMAND  Command to show help for.

OPTIONS
  -n, --nested-commands  Include all nested commands in the output.

See code: @oclif/plugin-help

foam janitor [WORKSPACEPATH]

Updates link references and heading across all the markdown files in the given workspaces

USAGE
  $ foam janitor [WORKSPACEPATH]

OPTIONS
  -h, --help                show CLI help
  -w, --without-extensions  generate link reference definitions without extensions (for legacy support)

EXAMPLE
  $ foam-cli janitor path-to-foam-workspace

See code: src/commands/janitor.ts

foam migrate [WORKSPACEPATH]

Updates file names, link references and heading across all the markdown files in the given workspaces

USAGE
  $ foam migrate [WORKSPACEPATH]

OPTIONS
  -h, --help                show CLI help
  -w, --without-extensions  generate link reference definitions without extensions (for legacy support)

EXAMPLE
  $ foam-cli migrate path-to-foam-workspace
  Successfully generated link references and heading!

See code: src/commands/migrate.ts

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.

Keywords

FAQs

Package last updated on 06 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc