Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a node command controller #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

remuslazar
Copy link
Member

This implements a new "node command controller" to do things like:

$ flow help node:dump
Dump the content of a specific node
COMMAND:
  cron.neosclitools:node:dump
USAGE:
  ./flow node:dump [<options>]
OPTIONS:
  --url                URL of the node, e.g. '/news'
  --path               full path of the specific node, e.g.
                       '/sites/mysite/node..'
  --identifier         Node identifier, e.g.
                       30fb88f3-36da-49c4-9dee-2a16dd01bf78
  --workspace          workspace to use, e.g. 'user-admin', defaults to 'live'

And so to dump the content of a specific node as JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant