@subql/cli
    TypeScript icon, indicating that this package has built-in type declarations

    0.10.0 • Public • Published

    @subql/cli

    cli for polkagraph

    oclif Version Downloads/week License

    Usage

    $ npm install -g @subql/cli
    $ subql COMMAND
    running command...
    $ subql (-v|--version|version)
    @subql/cli/0.10.0 linux-x64 node-v14.17.0
    $ subql --help [COMMAND]
    USAGE
      $ subql COMMAND
    ...

    Commands

    subql build

    Pack this SubQuery project

    USAGE
      $ subql build
    
    OPTIONS
      -f, --force
      --file=file
    

    See code: lib/commands/build.js

    subql codegen

    Generate schemas for graph node

    USAGE
      $ subql codegen
    
    OPTIONS
      -f, --force
      --file=file
    

    See code: lib/commands/codegen.js

    subql help [COMMAND]

    display help for subql

    USAGE
      $ subql help [COMMAND]
    
    ARGUMENTS
      COMMAND  command to show help for
    
    OPTIONS
      --all  see all commands in CLI
    

    See code: @oclif/plugin-help

    subql init [PROJECTNAME]

    Init a scaffold subquery project

    USAGE
      $ subql init [PROJECTNAME]
    
    ARGUMENTS
      PROJECTNAME  Give the starter project name
    
    OPTIONS
      -f, --force
      --starter
    

    See code: lib/commands/init.js

    subql validate

    check a folder or github repo is a validate subquery project

    USAGE
      $ subql validate
    
    OPTIONS
      -l, --location=location  local folder or github repo url
      --silent
    

    See code: lib/commands/validate.js

    Keywords

    Install

    npm i @subql/cli

    DownloadsWeekly Downloads

    75

    Version

    0.10.0

    License

    Apache-2.0

    Unpacked Size

    191 kB

    Total Files

    50

    Last publish

    Collaborators

    • avatar
    • avatar