1.0.1 • Published 3 years ago

allspark-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

allspark

AllSpark is the source energy for the transformers, and well is the force to generate budget preview for agile software projects

Image of Yaktocat

Configuration

A project is configured using a simple json like that

  • For project type:
{
  "customerName": "My Awesome Customer",
  "projectName": "My Awesome Project",
  "features": [
    {
      "name": "Crud Barbers",
      "time": 1
    },
    {
      "name": "Reports of seling by week",
      "time": 1
    },
    {
      "name": "Eletronic signed login",
      "time": 3
    }
  ],
  "taxes": [
    {
      "percent": 20
    }
  ],
  "developers": [
    {
      "cost": 100
    }
  ]
}

After to configure, the budget is ready to build

Args

The possible arguments for allspark are:

  • -v or --verbose: Tells allspark to enligth you with all the information of whats is being done behind the scenes (verbose). Defaults to false.
  • -c or --configPath: Specifies the config file path. It's required.
  • -o or --outputDir: Specifies the output directory to write the budget.html file. Defaults to ./.
  • -t or --type: Specify wich type of budget you want. The config file should be specified in this mode. Defaults to project.

    • Currently only project type is allowed

Run

$ npm install

$ chmod +x allspark

$ allspark-cli -v true -c /my/path/to/config.json -o /my/budget/directory/ -t project

A html file will be generated on the output dir with the budget calculation

1.0.1

3 years ago

1.0.0

3 years ago