feat: pins cli

オープン
#202 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

  • #203 @cpcloud による — マージされずにクローズ

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
cli

調査の方向性

まず、issue でコマンドラインインターフェースをサポートできる可能性があるとされている、既存の pin API メソッドを確認します。実装前に、コマンドと、ファイルではない pin タイプに対する read の動作を明確にします。done には、set-board、list、search、meta、write、read、exists の合意済みの動作を含める必要があります。

索引モデルが issue の本文から書いたものです。

説明

.enhancement

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?

主要言語
Python
スター
59
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rstudio/pins-python のほかの issue

rstudio/pins-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。