Skip to content

inplacecli/inplace

Repository files navigation

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.

About

A tool that will allow you to selectively download specific files and directories into your local directory.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published