MCPcopy Index your code
hub / github.com/erfanium/my-irancell-cli

github.com/erfanium/my-irancell-cli @v0.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.1 ↗ · + Follow
48 symbols 81 edges 12 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

my-irancell-cli

Cli for my.irancell.ir. You can get your current status, list offers and buy offers by using this cli.

my-irancell

Installation

$ npm install -g my-irancell-cli

Login

You have to login to your irancell account with your phone number and password.

$ my-irancell login

Usage

$ npm install -g my-irancell-cli
$ my-irancell COMMAND
running command...
$ my-irancell (--version)
my-irancell-cli/0.1.0 linux-x64 node-v20.9.0
$ my-irancell --help [COMMAND]
USAGE
  $ my-irancell COMMAND
...

Commands

my-irancell buy [OFFERID]

Buy an offer

USAGE
  $ my-irancell buy [OFFERID]

DESCRIPTION
  Buy an offer

See code: src/commands/buy/index.ts

my-irancell help [COMMAND]

Display help for my-irancell.

USAGE
  $ my-irancell help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for my-irancell.

See code: @oclif/plugin-help

my-irancell login

Login to a new account

USAGE
  $ my-irancell login

DESCRIPTION
  Login to a new account

See code: src/commands/login/index.ts

my-irancell logout

Logout from account

USAGE
  $ my-irancell logout

DESCRIPTION
  Logout from account

See code: src/commands/logout/index.ts

my-irancell offers

List all available offers

USAGE
  $ my-irancell offers

DESCRIPTION
  List all available offers

See code: src/commands/offers/index.ts

my-irancell status

Show account status

USAGE
  $ my-irancell status

DESCRIPTION
  Show account status

See code: src/commands/status/index.ts

Extension points exported contracts — how you extend this code

Config (Interface)
(no doc)
src/config.ts
MyIrancellApiCtorParams (Interface)
(no doc)
src/api.ts
Account (Interface)
(no doc)
src/api.ts
ActiveOffer (Interface)
(no doc)
src/api.ts
CumulativeAmount (Interface)
(no doc)
src/api.ts
WowCharge (Interface)
(no doc)
src/api.ts

Core symbols most depended-on inside this repo

#getAccessToken
called by 4
src/api.ts
get
called by 3
src/config.ts
set
called by 3
src/config.ts
getOffers
called by 2
src/api.ts
makeTable
called by 2
src/table.ts
formatSize
called by 2
src/commands/status/index.ts
login
called by 1
src/api.ts
logout
called by 1
src/api.ts

Shape

Method 17
Class 15
Interface 13
Function 3

Languages

TypeScript100%

Modules by API surface

src/api.ts24 symbols
src/config.ts6 symbols
src/commands/status/index.ts4 symbols
src/commands/offers/index.ts3 symbols
src/commands/logout/index.ts3 symbols
src/commands/login/index.ts3 symbols
src/commands/buy/index.ts3 symbols
src/table.ts1 symbols
src/command.ts1 symbols

For agents

$ claude mcp add my-irancell-cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact