Inplace
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., (*1)
To install:, (*2)
composer global require inplacecli/inplace ^0
Alternatively, if you would like the signed .phar version:, (*3)
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:, (*4)
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., (*5)
This is the format of an .inplace.yml
file:, (*6)
files:
- circle.yml
- .drone.yml
The Inplace tool and packages are written by Scott Wilcox., (*7)
License
This project is licensed under an Apache 2.0 license which you can find
in this LICENSE., (*8)
Feedback
If you have any feedback, comments or suggestions, please feel free to open an
issue within this repository., (*9)
Security
If you have security feedback, please contact me via email at
security@ssx.email and I'll usually respond as soon as possible., (*10)