Commandline interaction with pagure.io
Project description
pag helps you win at pagure.io.
Intended to mimic the hub cli tool for github.com.
Usage
$ pag --help Usage: pag [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: clone create remote
The clone command can be used to clone a repo by name without having to find or type out the URL:
❯ pag clone koji Cloning into 'koji'...
Or you can clone a fork:
❯ pag clone ralph/koji Cloning into 'koji'...
After you clone a repo, you can fork it on pagure.io and adjust your local remote settings:
❯ pag fork
If you want to add the remotes of other forks, that’s easy too. Just do it by username:
❯ cd koji/ ❯ pag remote add ausil ❯ git remote -v ausil ssh://git@pagure.io/forks/ausil/koji.git (fetch) origin ssh://git@pagure.io/koji.git (fetch) ❯ git pull ausil master
pag provides a convenience command for creating new projects:
❯ pag create factory2 "Ostensibly better than factory version 1"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pag-0.5.tar.gz
(17.4 kB
view details)
File details
Details for the file pag-0.5.tar.gz
.
File metadata
- Download URL: pag-0.5.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbcdcb5701d7ae95d63d0510991d570779baebdc016ef9f45d9c45de9e563e19 |
|
MD5 | 9ccb89b2a304cb7df3cf92386ee46d4e |
|
BLAKE2b-256 | c4459b40b7d1fbcef2e442582c5c65468cfd87159752e114d49e239c9facbac3 |