Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oresoftware/tarballs-cli
Push random local files to a select Github repo.
https://github.com/oresoftware/tarballs-cli
cli npm npm-install tar tarballs tarzan tgz
Last synced: 19 days ago
JSON representation
Push random local files to a select Github repo.
- Host: GitHub
- URL: https://github.com/oresoftware/tarballs-cli
- Owner: ORESoftware
- License: mit
- Created: 2018-05-27T03:08:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-08T10:25:51.000Z (almost 6 years ago)
- Last Synced: 2024-09-13T03:34:52.718Z (2 months ago)
- Topics: cli, npm, npm-install, tar, tarballs, tarzan, tgz
- Language: Shell
- Homepage:
- Size: 22.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
#### Tarzan / tarballs-cli
---------------------------------------------------------
### Clone a git repo, to which you will push files (tarballs, etc).
```bash
$ tarzan init oresoftware/tarballs "[email protected]:ORESoftware/tarballs.git"
```
>
> the 'init' command clones the git repo to: "$HOME/.trbl/repos/oresoftware/tarballs"
> and "oresoftware/tarballs" becomes the id for that repo
>### Use a repo to push files to
```bash
$ tarzan use oresoftware/tarballs
```
>
> the 'use' command sets a certain repo as the active one (globally/for all shells)
>### Add a local file and push it to the remote repo
```bash
$ tarzan add foo.tgz "x/y/z/foo.tgz"
```
>
> the 'add' command writes a file to the active repo to the path and attempts to push the file to the remote.
>----------------------------------------------------
### Install a tarball from Github, with NPM, etc
```bash
$ npm install --loglevel=warn -g \
"https://raw.githubusercontent.com///master/x/y/z/foo.tgz?$(date +%s)"```
### Using a Dockerfile / building a Docker image:
```bash
RUN npm install --loglevel=warn -g \
"https://raw.githubusercontent.com///master/x/y/z/foo.tgz?$(date +%s)"
```