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

0.4.5 • Public • Published

OSR CLI Commons

Package verbs (todos)

Each package should expose information about itself, eg:

  • info (package introspection)
  • register context menu
  • help
  • help-json
  • commands
  • commands-json

For conversion related utility:

  • provides (list of available conversions)
  • provides-json

Configuration example

{
    "deepl": {
        "auth_key": "",
        "free_api": false
    },
    "cscart": {
        "apiKey": "",
        "apiUrl": "https://shop.osr-plastic.org/api/",
        "username": "",
        "userToken": "none"
    },
    "discourse": {
        "host": "https://forum.osr-plastic.org",
        "key": "",
        "username": "jerom",
        "rateLimitConcurrency": 1
    },
    "instagram": {
        "user": "cgoflyn@gmail.com",
        "token": ""
    },
    "urls":{
        "shop":"https://shop.osr-plastic.org/",
        "forum":"https://forum.osr-plastic.org/",
        "library":"https://kb.osr-plastic.org/",
        "git":"https://git.osr-plastic.org/",
        "assets":"https://assets.osr-plastic.org/"
    }
}

References

Todos

  • [ ] CLI:Each
    • [ ] --list=Glob | String | Datasource
  • [ ] Migrate FS Extras : npm | Opts | Validate

Readme

Keywords

Package Sidebar

Install

npm i @plastichub/osr-cli-commons

Weekly Downloads

10

Version

0.4.5

License

BSD-3-Clause

Unpacked Size

101 kB

Total Files

61

Last publish

Collaborators

  • plastichubdev