@adobe/aio-cli-plugin-app-files

0.1.0-0 • Public • Published

aio-cli-plugin-boilerplate

Basic working repo structure for Adobe teams to use as a starting point for their own plugins, and available as a github template to the @adobe github org.

How to use this template

  • create a new repo from the github.com/adobe and select it in the templates
  • give it a unique name ( plugins are typically named aio-cli-plugin-xxxx )
  • enter a description
  • pick options
  • create repository
  • git clone, npm i
  • make some changes to names of things readme, ...
  • git add .
  • git commit -m 'A new begining'

How to use this repo, ( like a repo )

  • Click 'Clone or Download' and download a zip

  • extract it to a directory on your machine

  • if you cloned, delete the hidden .git folder

  • run git init

  • make some changes to names of things readme, ...

  • git add .

  • git commit -m 'A new begining'

  • Create the new empty repo here on github

  • grab the remote url

back in your directory ...

  • git remote add origin new-repo-url
  • git push origin master

Firefly app file storage commands for the Adobe I/O CLI

Usage

$ aio plugins:install -g @adobe/aio-cli-plugin-app-files
$ # OR
$ aio app files --help

Commands

aio app:files

Execute app file commands

USAGE
  $ aio app:files

OPTIONS
  -v, --verbose  Verbose output
  --version      Show version

ALIASES
  $ aio app:files

aio app:files:delete FILE

Delete files in file storage

USAGE
  $ aio app:files:delete FILE

ARGUMENTS
  FILE  file path to delete

OPTIONS
  -v, --verbose  Verbose output
  --version      Show version

ALIASES
  $ aio app:files:delete

EXAMPLE
  $ aio app files delete some-file.txt

aio app:files:get PATH

Get details for files in file storage

USAGE
  $ aio app:files:get PATH

ARGUMENTS
  PATH  file path to get

OPTIONS
  -v, --verbose  Verbose output
  --version      Show version

ALIASES
  $ aio app:files:get

EXAMPLE
  $ aio app files get some-file.txt

aio app:files:list

List files in file storage

USAGE
  $ aio app:files:list

OPTIONS
  -j, --json       output json data
  -l, --list       output a formatted list
  -p, --path=path  [default: /] file path to list

ALIASES
  $ aio app:files:list

EXAMPLE
  $ aio app files list

aio app:files:write FILEPATH [DATA]

Get details for files in file storage

USAGE
  $ aio app:files:write FILEPATH [DATA]

ARGUMENTS
  FILEPATH  file path to write to
  DATA      data to write to the file, or path to a src file

OPTIONS
  -f, --src=src  file path for src

ALIASES
  $ aio app:files:write

EXAMPLE
  $ aio app files get some-file.txt

aio app:state

Execute app state commands

USAGE
  $ aio app:state

OPTIONS
  -v, --verbose  Verbose output
  --version      Show version

ALIASES
  $ aio app:state

aio app:state:delete KEY

delete key+value from state store

USAGE
  $ aio app:state:delete KEY

ARGUMENTS
  KEY  state key to delete

OPTIONS
  -v, --verbose  Verbose output
  --version      Show version

ALIASES
  $ aio app:state:delete
  $ aio app:state:del

EXAMPLE
  $ aio app state delete some-key

aio app:state:get KEY

Get values for keys in state store

USAGE
  $ aio app:state:get KEY

ARGUMENTS
  KEY  state key to get

OPTIONS
  -v, --verbose  Verbose output
  --version      Show version

ALIASES
  $ aio app:state:get

EXAMPLE
  $ aio app state get some-key

aio app:state:list

List keys in store

USAGE
  $ aio app:state:list

OPTIONS
  -v, --verbose  Verbose output
  --version      Show version

ALIASES
  $ aio app:state:list
  $ aio app:state:ls

EXAMPLE
  $ aio app state list

aio app:state:set KEY VALUE

set value for key in state store

USAGE
  $ aio app:state:set KEY VALUE

ARGUMENTS
  KEY    state key to set
  VALUE  value to set

OPTIONS
  -t, --ttl=ttl  [default: 86400] time to live, expiry in seconds, default is 24 hours, -1 for no expiry

ALIASES
  $ aio app:state:set

EXAMPLE
  $ aio app state set some-key "Some value"

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

Readme

Keywords

Package Sidebar

Install

npm i @adobe/aio-cli-plugin-app-files

Weekly Downloads

4

Version

0.1.0-0

License

Apache-2.0

Unpacked Size

55 kB

Total Files

18

Last publish

Collaborators

  • dylandepass
  • djaeggi
  • adobehalls
  • fullcolorcoder
  • marbec
  • tripod
  • garthdb
  • lazd
  • adobe-admin
  • patrickfulton
  • trieloff
  • shazron
  • krisnye
  • dcpfsdk
  • natebaldwin
  • devongovett
  • aspro83
  • symanovi
  • dpfister
  • stefan-guggisberg
  • korra
  • rofe
  • kptdobe