0.15.4-beta • Published 8 months ago

@czprz/dever v0.15.4-beta

Weekly downloads
-
License
Unlicense
Repository
github
Last release
8 months ago

dever

Tool to help speed up local development and keep it consistent across a team

Pipeline codeql

Getting Started

git clone https://github.com/czprz/dever.git

Installation

Prerequisites

NodeJS 18.9.0 or higher

Installing

npm install @czprz/dever -g

Using

Preparing dever.json

dever.json should be placed in the root of your project's folder. Example of the content in a dever.json can be found here. dever-example.json

Running dever

After dever has been installed. Run below command for finding all dever.json

dever scan

After you can list all found projects using below command

dever list

When interacting with segments. Use any of the keywords together with the segment key. in dever [keyword] [segment.key] This'll show you all available commands and options for the segment.

e.g.

dever ec env

Running segments can be done with the command below.

dever ec env up

Note: If any errors occur during an execution. You'll be informed that error messages can be found in a log file at end of the execution.

Available commands

CommandDescription
deverShows help context for dever options
dever initAdds dever support to project at location of terminal
dever init -p, --pathAdds dever support to project at location of path
dever scanScans for all dever supported projects
dever listLists all found projects
dever list --not-supportedLists all found not supported projects
dever config set keySets config key to value provided
dever config get keyShow value of config key
dever config listShow content of dever_config.json
dever config locationShow location of dever_config.json
dever validateValidate any dever.json which is at the same location as the console
dever validate -f, --fileValidate any dever.json using a filepath
dever keyword config set keySets config key to value provided
dever keyword config get keyShow value of config key
dever keyword config listLists available configuration options and their current value
dever keyword config showShow project configuration
dever keyword config locationShow location of project configuration file
dever keywordShows help context for dever segment options
dever keyword upRuns all actions
dever keyword up nameRuns only specified actions
dever keyword up --not name, -n nameRuns all actions except those mentioned in the --not or -n option
dever keyword up --not-group name, --ng nameRuns all actions expect those grouped in the --not-group option
dever keyword up --cleanRuns all actions from scratch
dever keyword up --skipSkips confirmations
dever keyword up --shc --skip-hash-checkSkips hash-checks
dever keyword up-group nameRuns all actions that belongs to specified group
dever keyword up-group --not name, -n nameRuns all actions except those mentioned in the --not option
dever keyword up-group --cleanRuns all actions from scratch e.g. recreating docker containers
dever keyword up-group --skipSkips confirmations
dever keyword up-group --shc --skip-hash-checkSkips hash-checks ter
dever keyword downTakes down all actions
dever keyword down nameTakes down all specified actions
dever keyword down --not name, -n nameTakes down all actions except those mentioned in the --not option
dever keyword down-group nameTakes down all actions that belong to specified group
dever keyword down-group --not name, -n nameTakes down all actions except those mentioned in the --not option
dever keyword down-group --skipSkips confirmation
dever keyword down-group --shc --skip-hash-checkSkips hash-checks
dever keyword listLists all available actions
dever keyword list groupLists all actions belonging to specified group

Running the tests

Currently no tests implemented..

Built With

  • Node.js - Required for development
  • npmjs - Dependency management included as part of the NodeJS installation

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting a pull request.

Versioning

We use SemVer for versioning. For the versions available, see the releases on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the The Unlicense - see the LICENSE file for details

0.15.4-beta

8 months ago

0.15.1-beta

10 months ago

0.15.2-beta

10 months ago

0.15.3-beta

8 months ago

0.15.0-beta

12 months ago

0.14.6-beta

1 year ago

0.14.4-beta

1 year ago

0.14.5-beta

1 year ago

0.14.2-beta

1 year ago

0.14.3-beta

1 year ago

0.13.4-beta

1 year ago

0.14.1-beta

1 year ago

0.13.5-beta

1 year ago

0.14.0-beta

1 year ago

0.13.1-beta

1 year ago

0.13.0-beta.rc4

1 year ago

0.13.0-beta.rc2

1 year ago

0.13.0-beta.rc3

1 year ago

0.13.2-beta

1 year ago

0.13.3-beta

1 year ago

0.13.0-beta

1 year ago

0.13.0-beta.rc1

2 years ago

0.12.1-beta

2 years ago

0.12.0-beta.rc1

2 years ago

0.12.2-beta

2 years ago

0.11.7-beta

2 years ago

0.11.1-beta

2 years ago

0.11.4-beta

2 years ago

0.11.3-beta

2 years ago

0.11.0-beta

2 years ago

0.11.8-beta

2 years ago

0.11.5-beta

2 years ago

0.11.6-beta

2 years ago

0.11.2-beta

2 years ago

0.10.4-beta

2 years ago

0.10.1-beta

2 years ago

0.10.0-beta

2 years ago

0.10.3-beta

2 years ago

0.10.2-beta

2 years ago

0.9.1-beta

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago