@sage-js/cli
v0.12.0
Published
SAGE CLI
Downloads
5
Readme
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.12.0 darwin-x64 node-v14.16.0
$ sage-js --help [COMMAND]
USAGE
$ sage-js COMMAND
...
Commands
sage-js help [COMMAND]
sage-js info
sage-js res:osi:asm:assemble ASM OSI
sage-js res:osi:asm:disassemble OSI ASM
sage-js res:osi:asm:sassemble OSI ASMS
sage-js res:osi:asm:sdisassemble OSI ASM
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