0.0.11 • Published 1 year ago

cli-deployments v0.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

CLI Deployment Script

This Node.js script facilitates deployment processes by automating Git branch management and executing commands as specified in a configuration file.

Features

  • Branch Management: Allows for interactive switching between local Git branches.
  • Command Execution: Automatically runs a list of commands defined in a configuration file.

Configuration

Define your operational parameters in a JSON file, specifying the working directory and the commands you want executed:

{
  "cwd": "/path/to/working/directory",
  "commands": ["npm install", "npm run build", "npm test"]
}

Usage

To run the script, execute it with the path to your configuration file:

npx cli-deployment --config=<path_to_config_file>

Example

For a deploy_config.json located in the same directory as the script:

npx cli-deployment --config=./deploy_config.json

License

Distributed under the MIT License. See LICENSE for more information.


0.0.10

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago