Nimble Porridge Muncher

    wrhs

    1.1.1 • Public • Published

    oclif Version Downloads/week License npm Downloads Dependencies

    Warehouse CLI

    Robust CLI for the next generation of Object ledger and CDN.

    Usage

    $ npm install -g wrhs
    $ wrhs COMMAND
    running command...
    $ wrhs (-v|--version|version)
    wrhs/1.1.1 darwin-x64 node-v16.15.0
    $ wrhs --help [COMMAND]
    USAGE
      $ wrhs COMMAND
    ...

    Commands

    wrhs cdn

    USAGE
      $ wrhs cdn
    
    OPTIONS
      --boolean
      --build
      --enum
      --help
      --integer
      --option
      --string
      --version
    

    See code: src/commands/cdn/index.js

    wrhs cdn:upload FILEPATH

    Upload a file to the Warehouse CDN

    USAGE
      $ wrhs cdn:upload FILEPATH
    
    OPTIONS
      -u, --cdn_base_url=cdn_base_url  cdn base url value that overrides default one configued in the server
    
      -x, --expiration=expiration      object expiration in human readable format or milliseconds (e.g., 365d, 48h,
                                       1607973280797)
    

    See code: src/commands/cdn/upload.js

    wrhs help [COMMAND]

    display help for wrhs

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

    See code: @oclif/plugin-help

    wrhs object

    USAGE
      $ wrhs object
    
    OPTIONS
      --boolean
      --build
      --enum
      --help
      --integer
      --option
      --string
      --version
    

    See code: src/commands/object/index.js

    wrhs object:create NAME

    Create an object in the Warehouse ledger

    USAGE
      $ wrhs object:create NAME
    
    OPTIONS
      -a, --variant=variant        object variant (e.g., en_US)
      -d, --data=data              object data (e.g., '{ "foo": "bar" }')
      -e, --env=env                object environment (e.g., production, test)
      -v, --version=version        (required) object version (e.g., v1.2.1)
    
      -x, --expiration=expiration  object expiration in human readable format or milliseconds (e.g., 365d, 48h,
                                   1607973280797)
    

    See code: src/commands/object/create.js

    wrhs object:get NAME

    Get an object from the Warehouse ledger

    USAGE
      $ wrhs object:get NAME
    
    OPTIONS
      -a, --accepted-variants=accepted-variants  accepted object variants (e.g., en_US,fr_CA)
      -e, --env=env                              object environment (e.g., production, test)
      -v, --version=version                      object version (e.g., v1.2.1)
    

    See code: src/commands/object/get.js

    wrhs object:set-head NAME

    Set the object head to a specific version

    USAGE
      $ wrhs object:set-head NAME
    
    OPTIONS
      -e, --env=env          [default: production] object environment (e.g., production, test)
      -v, --version=version  (required) object head version (e.g., v1.2.1)
    

    See code: src/commands/object/set-head.js

    wrhs upload FILEPATH NAME

    Upload a file to the CDN and create an object in the Warehouse ledger

    USAGE
      $ wrhs upload FILEPATH NAME
    
    OPTIONS
      -a, --variant=variant            object variant (e.g., en_US)
      -e, --env=env                    object environment (e.g., production, test)
      -u, --cdn_base_url=cdn_base_url  cdn base url value that overrides default one configued in the server
      -v, --version=version            (required) object version (e.g., v1.2.1)
    
      -x, --expiration=expiration      object expiration in human readable format or milliseconds (e.g., 365d, 48h,
                                       1607973280797)
    

    See code: src/commands/upload.js

    Install

    npm i wrhs

    DownloadsWeekly Downloads

    21

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    396 kB

    Total Files

    19

    Last publish

    Collaborators

    • jgowdy
    • ibrandao
    • decompil3d
    • jpage
    • kinetifex
    • rxmarbles
    • kquerna
    • 3rdeden
    • msluther
    • jwilhelm
    • jcrugzz
    • dcousineau
    • indexzero
    • fritzmonkey