inplacecli / inplace
The Inplace CLI project.
Requires
- herrera-io/phar-update: ~1.0
- kzykhys/git: ^0.1.2
- symfony/console: ^2.3 || ^3.0
- symfony/filesystem: ^3.2
- symfony/yaml: ^3.2
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~5.7
This package is auto-updated.
Last update: 2024-10-29 05:28:20 UTC
README
This is a tool that will allow you to download specified files from an existing Github repository and place them into your local project. This is useful for adding a common CircleCI, license or README.md file from a template repo.
To install:
composer global require inplacecli/inplace ^0
Alternatively, if you would like the signed .phar version:
wget https://inplacecli.github.io/inplace/releases/inplace.phar &&
wget https://inplacecli.github.io/inplace/releases/inplace.phar.pubkey &&
sudo chmod +x inplace.phar && mv inplace* /usr/local/bin
To run:
inplace fetch https://github.com/inplacecli/demo
Behind the scenes, this will close the repository locally and then check
for the existence of a .inplace.yml
file which denotes the files within
the repository to copy into the current directory.
This is the format of an .inplace.yml
file:
files: - circle.yml - .drone.yml
The Inplace tool and packages are written by Scott Wilcox.
License
This project is licensed under an Apache 2.0 license which you can find in this LICENSE.
Feedback
If you have any feedback, comments or suggestions, please feel free to open an issue within this repository.
Security
If you have security feedback, please contact me via email at security@ssx.email and I'll usually respond as soon as possible.