A tool that will allow you to selectively download specific files and directories into your local directory.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Inplace/Command
tests/fixtures
.gitattributes
.gitignore
.pre-commit-config.yaml
.scrutinizer.yml
.styleci.yml
.travis.yml
LICENSE
README.md
VERSION
box.json.dist
build-dist.sh
circle.yml
composer.json
composer.lock
inplace
phpunit.xml.dist

README.md

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.

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.