From 2e4aeb48a5c0e901fd9f05ee211e923ecf941611 Mon Sep 17 00:00:00 2001 From: Sambhav Aggarwal <4591834+sambhav-aggarwal@users.noreply.github.com> Date: Sun, 3 May 2026 14:54:05 +0530 Subject: [PATCH] Use generic example board names; fix author email; bump 0.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace internal 'taillog'/TL references in README and command examples with generic 'engineering'/ENG so the docs don't leak internal project names. - Fix author email: hello@ssntpl.com → info@ssntpl.com. - Bump version to 0.1.1 — first release through trusted publishing. --- README.md | 24 ++++++++++++------------ package.json | 4 ++-- src/commands/board/create.ts | 2 +- src/commands/board/show.ts | 4 ++-- src/commands/list/list.ts | 4 ++-- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 52b2ce9..8d0bd97 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ Command-line interface for [Otper](https://otper.com) — manage boards, lists, ```sh npm install -g @ssntpl/otper-cli otper auth:login -otper board:search "taillog" -otper card:list --list 119 +otper board:search "engineering" +otper card:list --list 42 ``` ## Contents @@ -60,7 +60,7 @@ Or skip the saved config and use environment variables (handy for CI): ```sh export OTPER_TOKEN="238|abc..." export OTPER_BASE_URL="https://otper.com" -otper board:search taillog +otper board:search engineering ``` To sign out: @@ -147,9 +147,9 @@ Run `otper --help` to see commands within a topic, and `otper : boards.csv -otper card:move 1234 --to-list 138 --format silent && echo moved +otper card:move 1234 --to-list 50 --format silent && echo moved ``` ## Library usage @@ -213,14 +213,14 @@ const client = new OtperClient({ token: process.env.OTPER_TOKEN!, }); -const board = await boards.getBoard(client, '24'); -const inProgress = await lists.getListWithCards(client, '119', 1); +const board = await boards.getBoard(client, '7'); +const inProgress = await lists.getListWithCards(client, '42', 1); for (const card of inProgress!.cards.data) { console.log(card.card_number, card.title); } -await cards.moveCard(client, '36905', '120'); // → Done +await cards.moveCard(client, '1234', '50'); // → Done ``` You can also load the user's saved config: @@ -245,7 +245,7 @@ const data = await client.gql<{ me: { id: string } }>( **Daily standup digest** — list everything in progress and pipe into a summary: ```sh -otper card:list --list 119 --format csv > standup.csv +otper card:list --list 42 --format csv > inprogress.csv ``` **Move a card to Done in a script:** diff --git a/package.json b/package.json index 8b418c0..8b0a641 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "@ssntpl/otper-cli", - "version": "0.1.0", + "version": "0.1.1", "description": "Command-line interface for Otper boards (https://otper.com).", - "author": "SSNTPL ", + "author": "SSNTPL ", "license": "MIT", "homepage": "https://github.com/ssntpl/otper-cli", "repository": { diff --git a/src/commands/board/create.ts b/src/commands/board/create.ts index c0d0b90..9208444 100644 --- a/src/commands/board/create.ts +++ b/src/commands/board/create.ts @@ -15,7 +15,7 @@ export default class BoardCreate extends BaseCommand { static description = 'Create a new board in a team.'; static examples = [ - '<%= config.bin %> board:create --team-id 16 --name "TAILLOG" --key TL --slug taillog', + '<%= config.bin %> board:create --team-id 16 --name "Engineering" --key ENG --slug engineering', ]; static flags = { diff --git a/src/commands/board/show.ts b/src/commands/board/show.ts index b7cbe2a..837935b 100644 --- a/src/commands/board/show.ts +++ b/src/commands/board/show.ts @@ -21,8 +21,8 @@ export default class BoardShow extends BaseCommand { static description = 'Show a board by ID, or by team-slug + board-slug.'; static examples = [ - '<%= config.bin %> board:show 24', - '<%= config.bin %> board:show --team ssntpl --slug taillog', + '<%= config.bin %> board:show 7', + '<%= config.bin %> board:show --team acme --slug engineering', ]; static args = { id: Args.string({ description: 'Board ID', required: false }) }; diff --git a/src/commands/list/list.ts b/src/commands/list/list.ts index b273420..02fb7bb 100644 --- a/src/commands/list/list.ts +++ b/src/commands/list/list.ts @@ -19,8 +19,8 @@ export default class ListList extends BaseCommand { static description = 'List all lists on a board.'; static examples = [ - '<%= config.bin %> list:list --board 24', - '<%= config.bin %> list:list --team ssntpl --slug taillog', + '<%= config.bin %> list:list --board 7', + '<%= config.bin %> list:list --team acme --slug engineering', ]; static flags = {