replit

0.3.1 • Public • Published

replitcli

NPM

FOSSA Status

A command line interface for repl.it

Usage:

Usage: replit [options] [command]

Options:
  -V, --version                            output the version number
  --debug                                  Enable debug logging
  -c, --config <filename>                  Location of configuration file (default: "~/.config/.replitcli.json")
  -hc, --hide-connecting                   Don't show 'Crosis connecting' message
  -h, --help                               display help for command

Commands:
  auth [options]                           Authenticate with the CLI
  bash [repl]                              Open a bash shell in the repl
  local [options] [repl]                   Set the local repl for the a directory
  run [options] [repl]                     Runs, stops, or restarts the repl.
  cp [options] [files...]                  Copies a file from a repl to your computer or vice versa. Prepend a path with repl: to indicate it is on the repl.
  exec [options] <program> [arguments...]  Execute a command in the repl and wait for it to finish
  bulk <args...>                           Run multiple commands without re-opening the connection

Note: output above generated by the command node index.js -h | sed -e "s/$(echo $HOME | sed 's/\//\\\//g')/~/g" | sed -e "s/^Usage: index/Usage: replit/g"

Future Plans

  • Repl info command

License

FOSSA Status

Dependencies (10)

Dev Dependencies (1)

Package Sidebar

Install

npm i replit

Weekly Downloads

11

Version

0.3.1

License

ISC

Unpacked Size

36.7 kB

Total Files

19

Last publish

Collaborators

  • amasad
  • scoder12