UNPKG

3.54 kBJSONView Raw
1{"version":"0.0.5","commands":{"build":{"id":"build","description":"describe the command here","pluginName":"@fab/cli","pluginType":"core","aliases":[],"examples":["$ fab build","$ fab build --config=fab.config.json5"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"Path to config file","default":"fab.config.json5"}},"args":[]},"deploy":{"id":"deploy","description":"Command line deployer for FABs","pluginName":"@fab/cli","pluginType":"core","aliases":[],"examples":["$ fab-cf-workers deploy fab.zip"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"cf_workers_name":{"name":"cf_workers_name","type":"option","char":"n","description":"Name for project. Will deploy to https://{name}.{your_cf_username}.workers.dev"},"s3_asset_bucket":{"name":"s3_asset_bucket","type":"option","description":"S3 Bucket name for asset upload"},"aws_key":{"name":"aws_key","type":"option","description":"AWS Key for S3 upload (if not using ~/.fab/global.config.json5)"},"aws_secret":{"name":"aws_secret","type":"option","description":"AWS Secret Key for S3 upload (if not using ~/.fab/global.config.json5)"},"cf_api_key":{"name":"cf_api_key","type":"option","description":"Cloudflare Workers API key (if not using ~/.fab/global.config.json5)"},"cf_account_id":{"name":"cf_account_id","type":"option","description":"Cloudflare Workers Account ID (if not using ~/.fab/global.config.json5)"},"cf_email":{"name":"cf_email","type":"option","description":"Cloudflare Workers Account Email (if not using ~/.fab/global.config.json5)"},"config":{"name":"config","type":"option","char":"c","description":"Path to local config file","default":"fab.config.json5"}},"args":[{"name":"file"}]},"init":{"id":"init","description":"Generate a FAB config on a new project","pluginName":"@fab/cli","pluginType":"core","aliases":[],"examples":["$ fab init","$ fab init --config=fab.config.json5"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"Config filename","default":"fab.config.json5"},"yes":{"name":"yes","type":"boolean","char":"y","description":"Assume yes to all prompts (must be in the root directory of a project)","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Do not attempt to npm install anything","allowNo":false},"version":{"name":"version","type":"option","description":"What NPM version or dist-tag to use for installing FAB packages"}},"args":[]},"serve":{"id":"serve","description":"Serve a FAB in a local NodeJS Express server","pluginName":"@fab/cli","pluginType":"core","aliases":[],"examples":["$ fab serve fab.zip","$ fab serve --port=3001 fab.zip","$ fab serve --cert=local-ssl.cert --key=local-ssl.key fab.zip"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"port":{"name":"port","type":"option","description":"Port to use","required":true,"default":"3000"},"cert":{"name":"cert","type":"option","description":"SSL certificate to use"},"key":{"name":"key","type":"option","description":"Key for the SSL Certificate"},"experimental-v8-sandbox":{"name":"experimental-v8-sandbox","type":"boolean","description":"Enable experimental V8::Isolate Runtime (in development, currently non-functional)","allowNo":false}},"args":[{"name":"file"}]}}}
\No newline at end of file