Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)"
```