1.3.8 • Published 7 months ago

blobfish v1.3.8

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

npm version

blobfish

This binary allows you to dynamically sync files between GitHub repositories.

🐡 Install

You can install this package globally with:

npm install blobfish

🐡 Usage

Run the following command in your project root folder:

blobfish init

Or, manually create a .blobfishrc file in your project root folder. The file is a JSON array of objects with the following structure:

[
  {
    "repo": "cool-org/awesome-repo",
    "files": [
      "path/to/file.js",
      {
        "from": "path/to/another_file.js",
        "to": "target/path/to/another_file.js"
      }
    ]
  }
]

As you can see, you can specify a file path to copy to, or just the file name to copy to the same directory.

Make sure you already have a GitHub personal access token with the repo scope. You can create one here.

Then, create a .env file in your project root folder with the following content:

GH_TOKEN=<your_token>

Then, run the following command to sync your files:

blobfish sync

You can also run the blobfish sync command with the --token flag if you don't want to use a .env file:

blobfish sync --token <your_token>

And that's it! Your files will be copied to the specified repositories.

1.3.8

7 months ago

1.3.7

8 months ago

1.3.6

8 months ago

1.3.5

8 months ago

1.3.2

8 months ago

1.3.1

8 months ago

1.3.0

8 months ago

1.2.0

8 months ago

1.1.0

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago