0.4.5 • Published 2 months ago

@plastichub/osr-cli-commons v0.4.5

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
2 months ago

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