Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

@sage-js/cli

0.11.1 • Public • Published

SAGE-JS CLI

The command line utility for SAGE-JS.

Overview

The module is the command line utility for functionality provided by SAGE-JS.

Usage

$ npm install -g @sage-js/cli
$ sage-js COMMAND
running command...
$ sage-js (-v|--version|version)
@sage-js/cli/0.11.1 darwin-x64 node-v11.6.0
$ sage-js --help [COMMAND]
USAGE
  $ sage-js COMMAND
...

Commands

sage-js help [COMMAND]

display help for sage-js

USAGE
  $ sage-js help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sage-js info

display info about program

USAGE
  $ sage-js info

OPTIONS
  -h, --help  show CLI help

See code: src/commands/info.ts

sage-js res:osi:asm:assemble ASM OSI

assemble an osi file

USAGE
  $ sage-js res:osi:asm:assemble ASM OSI

ARGUMENTS
  ASM  assembly file to assemble
  OSI  osi file to output

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ sage-js res:osi:asm:a

See code: src/commands/res/osi/asm/assemble.ts

sage-js res:osi:asm:disassemble OSI ASM

disassemble an osi file

USAGE
  $ sage-js res:osi:asm:disassemble OSI ASM

ARGUMENTS
  OSI  osi file to disassemble
  ASM  assembly file to output

OPTIONS
  -h, --help                    show CLI help
  --index-comments              include comments for index of things
  --no-transform-branch         no transform branch targets (not position independent)
  --no-transform-class          no transform class inline
  --no-transform-class-symbols  no transform class symbols inline
  --no-transform-global         no transform global inline
  --no-transform-jump           no transform jump targets (not position independent)
  --no-transform-string         no transform string inline
  --no-transform-symbol         no transform symbol inline

ALIASES
  $ sage-js res:osi:asm:d

See code: src/commands/res/osi/asm/disassemble.ts

sage-js res:osi:asm:sassemble OSI ASMS

assemble an osi file, structured assembly

USAGE
  $ sage-js res:osi:asm:sassemble OSI ASMS

ARGUMENTS
  OSI   osi file to output
  ASMS  list of assembly files or directories to assemble

OPTIONS
  -e, --ext=ext  [default: .osas] project sources file extensions
  -h, --help     show CLI help

ALIASES
  $ sage-js res:osi:asm:sa

See code: src/commands/res/osi/asm/sassemble.ts

sage-js res:osi:asm:sdisassemble OSI ASM

disassemble an osi file, structured assembly

USAGE
  $ sage-js res:osi:asm:sdisassemble OSI ASM

ARGUMENTS
  OSI  osi file to disassemble
  ASM  assembly output

OPTIONS
  -e, --ext=ext                 [default: .osas] project sources file extensions
  -h, --help                    show CLI help
  -p, --project                 generate a project folder at destination
  --index-comments              include comments for index of things
  --no-class-nesting            no nesting of classes in directories
  --no-transform-branch         no transform branch targets (not position independent)
  --no-transform-class          no transform class inline
  --no-transform-class-extends  no transform class extends (duplicates code)
  --no-transform-class-symbols  no transform class symbols inline
  --no-transform-global         no transform global inline
  --no-transform-jump           no transform jump targets (not position independent)
  --no-transform-string         no transform string inline
  --no-transform-symbol         no transform symbol inline

ALIASES
  $ sage-js res:osi:asm:sd

See code: src/commands/res/osi/asm/sdisassemble.ts

Keywords

none

Install

npm i @sage-js/cli

DownloadsWeekly Downloads

2

Version

0.11.1

License

MPL-2.0

Unpacked Size

168 kB

Total Files

62

Last publish

Collaborators

  • avatar