Skip to content
Chris Brackert edited this page Jun 9, 2015 · 4 revisions
  • nio new project_name
    • create a new project directory
    • positional arguments:
      • project_name
        • directory name of new project
    • optional arguments:
      • -h, --help
        • show this help message and exit
      • --https
        • use https instead of ssh to get project template from GitHub
  • nio add [repos [repos ...]]
    • add a new block type to your project. clones down a remote nio-blocks repository as a submodule of the project directory in the ./blocks/ directory. discovers any requirements.txt files in the block directory and pip installs them. note: requirements install fails if pip install needs sudo.
    • positional arguments:
      • repos
        • nio-blocks repository name (ex. 'util')
    • optional arguments:
      • -h, --help
        • show this help message and exit
      • -f INIT, --init INIT
        • UNDOCUMENTED
      • -u, --update
        • UNDOCUMENTED
      • --https
        • use https instead of ssh to get project template from GitHub
  • nio pull [repos [repos ...]]
    • pull down the latest code from GitHub for a block. the updated block (as a submodule) is also added and committed to the project automatically.
    • positional arguments:
      • repos
        • nio-blocks repository name (ex. 'util')
    • optional arguments:
      • -h, --help
        • show this help message and exit
  • nio server [-e EXEC] [-bg]
    • start n.io
    • optional arguments:
      • -h, --help
        • show this help message and exit
      • -e EXEC, --exec EXEC
        • n.io executable (defaults to 'run_nio')
      • -bg, --background
        • run nio server in the background

Clone this wiki locally