Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edufolly/dev_config
Backup your configuration files to a private repository.
https://github.com/edufolly/dev_config
Last synced: 1 day ago
JSON representation
Backup your configuration files to a private repository.
- Host: GitHub
- URL: https://github.com/edufolly/dev_config
- Owner: edufolly
- Created: 2022-06-04T17:11:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T16:42:37.000Z (10 months ago)
- Last Synced: 2024-01-30T18:10:17.407Z (10 months ago)
- Language: Dart
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# DEV CONFIG
## Command usage
```shell
dev-config [--dry-run] [--debug] [--no-check-update] --path
```| Parameter | Required | Default Value | Description |
| :------------------ | :------: | :------------ | :------------------------ |
| `--path` | Yes | --- | The base with config.yml. |
| `--dry-run` | No | Disabled | To do a dry run. |
| `--debug` | No | Disabled | Show debug messages. |
| `--no-check-update` | No | Enabled | No check update. |## Important
To scan a folder in `checkPath`, create a empty folder with the same name inside `savePath`.
## Configuration example: `config.yml`
```yaml
# Path to save the files. Relative from '--path' parameter.
savePath: edufolly# Path to check. Your projects or user folder. Relative from execution '--path' parameter.
checkPath: ../# List of regular expressions to ignore a path.
regexAlwaysIgnorePaths:
- '.*/build/.*'
- '.*/\.git/.*'
- '.*\.bkp$'
- '.*\.log$'# List of regular expressions to accept a path.
regexAlwaysAcceptPaths:
- '.*/\.ssh/.*'# List of regular expressions to accept a file.
regexCheckFiles:
- '^\.env$'
- '.*\.jks$'
- '^.*-service-account\.json$'
- '^key\.properties$'
- '^launch\.json$'
```