feat: pins cli
Open
Nobody has claimed this yet.
.enhancement
- Dominant language
- Python
- Stars
- 59
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
I find myself writing scripts to manage pins, but I think I'd rather do it on the command line.
Playing around with the API, it seems like the existing methods are fairly amenable to building one:
$ pins set-board ibis-pins # store the board
$ pins list # list all pins
$ pins search '*cars' # list all pins matching a glob pattern
$ pins meta mtcars # yaml or json blob to stdout
$ pins write mtcars mtcars.parquet --type=parquet
$ pins write mtcars mtcars.csv --type=file
$ pins read mtcars # not entirely what this should do for non-`file` types
$ pins exists mtcars # exit 0 if exists otherwise exit 1
Is this something y'all are interested in?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing pin API methods that the issue says could support a command-line interface. Clarify the commands and the behavior of read for non-file pin types before implementation; done should include agreed behavior for set-board, list, search, meta, write, read, and exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100