@1msg/cli 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/help-text.js CHANGED
@@ -11,16 +11,16 @@ exports.HELP_TEXT = {
11
11
  "channel info": "Human summary of the selected channel: GET /status then GET /me.\n\nUSAGE\n 1msg channel info [flags]\n\nFLAGS\n --json One object: { \"status\": <GET /status>, \"me\": <GET /me> }\n -c, --channel <name>\n -h, --help\n\nEXAMPLES\n $ 1msg channel info\n $ 1msg channel info --json\n $ 1msg -c acme-prod channel info --json\n\nWithout --json: key-value from both responses (status, accountStatus,\nmm_lite_available, then profile fields from /me).\nWith --json: the two raw bodies nested under \"status\" and \"me\". Not a server\nschema — CLI-only. A single endpoint remains `1msg status --json` / `1msg me --json`.\n",
12
12
  "channel add": "Add a named channel to the config file. Does not change the default unless\nthis is the first channel (then it becomes default).\n\nUSAGE\n 1msg channel add [flags]\n\nFLAGS\n --name <name> Required. Config name (e.g. acme-prod), not instance id\n --base-url <url> https://api.1msg.io | https://sandbox.1msg.io\n Also accepts https://api-stage.1msg.io and http://127.0.0.1:3050\n --instance-id <id> Required unless ONE_MSG_INSTANCE_ID is set\n --token-stdin Read token from stdin\n --default Make this channel the default\n --no-verify Skip GET /status after save\n -h, --help\n\nEXAMPLES\n $ 1msg channel add --name acme-test --base-url https://sandbox.1msg.io \\\n --instance-id ODI371267301 --token-stdin\n $ 1msg channel add --name prod --base-url https://api.1msg.io \\\n --instance-id ODI371267300 --token-stdin --default\n\nNon-interactive: --name, --base-url, --instance-id, and a token (stdin or env)\nare required. Interactive prompts match `1msg init` when flags are omitted.\nWrites ~/.config/1msg/config.yaml mode 0600.\n",
13
13
  "status": "USAGE\n 1msg status [flags]\n 1msg channel status [flags]\n\nPrints connection status (typically `connected` when the number can send),\naccountStatus, and mm_lite_available.\n\nEXAMPLES\n $ 1msg status\n $ 1msg status --json\n $ 1msg -c acme-test status\n\nCOLUMNS (human)\n key-value: status, accountStatus, mm_lite_available\n",
14
- "send": "Send a text or file message (session window must be open).\nOutside 24h use: 1msg template send\n\nUSAGE\n 1msg send [flags]\n 1msg message send [flags]\n\nExactly one destination: --to or --chat-id.\nExactly one body: --text, --file, or --media-id.\n\nFLAGS\n --to <phone>\n --chat-id <id>\n --text <body> UTF-8 text (max 4096) → sendMessage\n --file <path|url> Local file or https URL → sendFile\n --caption <text> Caption when sending a file (max 1024)\n --filename <name> File name with extension. Required with an\n https --file URL (API requires filename with\n body). Optional for a local path (default:\n basename). Ignored with --media-id.\n --media-id <id> WABA media id from `1msg media upload`\n --media-type <type> image | video | audio | document (required with --media-id)\n --voice Native voice note (audio/ogg only)\n --quote <wamid>\n -h, --help\n\nEXAMPLES\n $ 1msg send --to 12020721369 --text \"Hello\"\n $ 1msg send --chat-id 12020721369@c.us --text \"Hello\" --quote wamid.HBgN…\n $ 1msg send --to 12020721369 --file ./photo.jpg --caption \"Look\"\n $ 1msg send --to 12020721369 --file https://example.com/a.pdf --filename invoice.pdf\n $ 1msg send --to 12020721369 --media-id 123456 --media-type image\n\nA local --file is read from disk, encoded as a data URI, and sent as\nsendFile.body. An https URL is passed through as sendFile.body and **requires\n--filename**. This does not call uploadMedia unless you run `1msg media upload`\nyourself. Exit 1 if --file is an https URL without --filename.\n",
15
- "message send": "Send a text or file message (session window must be open).\nOutside 24h use: 1msg template send\n\nUSAGE\n 1msg send [flags]\n 1msg message send [flags]\n\nExactly one destination: --to or --chat-id.\nExactly one body: --text, --file, or --media-id.\n\nFLAGS\n --to <phone>\n --chat-id <id>\n --text <body> UTF-8 text (max 4096) → sendMessage\n --file <path|url> Local file or https URL → sendFile\n --caption <text> Caption when sending a file (max 1024)\n --filename <name> File name with extension. Required with an\n https --file URL (API requires filename with\n body). Optional for a local path (default:\n basename). Ignored with --media-id.\n --media-id <id> WABA media id from `1msg media upload`\n --media-type <type> image | video | audio | document (required with --media-id)\n --voice Native voice note (audio/ogg only)\n --quote <wamid>\n -h, --help\n\nEXAMPLES\n $ 1msg send --to 12020721369 --text \"Hello\"\n $ 1msg send --chat-id 12020721369@c.us --text \"Hello\" --quote wamid.HBgN…\n $ 1msg send --to 12020721369 --file ./photo.jpg --caption \"Look\"\n $ 1msg send --to 12020721369 --file https://example.com/a.pdf --filename invoice.pdf\n $ 1msg send --to 12020721369 --media-id 123456 --media-type image\n\nA local --file is read from disk, encoded as a data URI, and sent as\nsendFile.body. An https URL is passed through as sendFile.body and **requires\n--filename**. This does not call uploadMedia unless you run `1msg media upload`\nyourself. Exit 1 if --file is an https URL without --filename.\n",
16
- "message": "Send, list, and mark messages.\n\nUSAGE\n 1msg message <command> [flags]\n\nCOMMANDS\n send Text or file (see 1msg send)\n list Stored chat history (GET /messages)\n read Mark a message as read (POST /readMessage)\n react Send or remove a reaction\n location Send a location pin\n location-request Ask the user to share location\n contact Send a contact card\n buttons Interactive reply buttons (max 3)\n menu Interactive list message (WhatsApp list)\n carousel Carousel\n product Product message\n cta CTA URL button\n address Address message\n order Order details\n payment Payment request\n sticker Sticker\n flow Send a Flow message\n\n`message list` is inbox history. WhatsApp interactive lists are `message menu`.\n\nEXAMPLES\n $ 1msg message send --to 12020721369 --text \"Hello\"\n $ 1msg message list --chat-id 12020721369@c.us --limit 20\n",
14
+ "send": "Send a text or file message (session window must be open).\nOutside 24h use: 1msg template send\n\nUSAGE\n 1msg send [flags]\n 1msg message send [flags]\n\nExactly one destination: --to or --chat-id.\nExactly one body: --text, --file, or --media-id.\n\nFLAGS\n --to <phone>\n --chat-id <id>\n --text <body> UTF-8 text (max 4096) → sendMessage\n --file <path|url> Local file or https URL → sendFile\n --caption <text> Caption when sending a file (max 1024)\n --filename <name> File name with extension. Required with an\n https --file URL (API requires filename with\n body). Optional for a local path (default:\n basename). Ignored with --media-id.\n --media-id <id> WABA media id from `1msg media upload`\n --media-type <type> image | video | audio | document (required with --media-id)\n --voice Native voice note (audio/ogg only)\n --quote <wamid>\n -h, --help\n\nEXAMPLES\n $ 1msg send --to 12020721369 --text \"Hello\"\n $ 1msg send --chat-id 12020721369@c.us --text \"Hello\" --quote wamid.HBgN…\n $ 1msg send --to 12020721369 --file ./photo.jpg --caption \"Look\"\n $ 1msg send --to 12020721369 --file https://example.com/a.pdf --filename invoice.pdf\n $ 1msg send --to 12020721369 --media-id 123456 --media-type image\n\nA local --file is read from disk, encoded as a data URI, and sent as\nsendFile.body. An https URL is passed through as sendFile.body and **requires\n--filename**. This does not call uploadMedia unless you run `1msg media upload`\nyourself. Exit 1 if --file is an https URL without --filename.\n\n`1msg send` is only sendMessage + sendFile. The other 15 public send\noperations are under `1msg message --help` and `1msg template send`.\n",
15
+ "message send": "Send a text or file message (session window must be open).\nOutside 24h use: 1msg template send\n\nUSAGE\n 1msg send [flags]\n 1msg message send [flags]\n\nExactly one destination: --to or --chat-id.\nExactly one body: --text, --file, or --media-id.\n\nFLAGS\n --to <phone>\n --chat-id <id>\n --text <body> UTF-8 text (max 4096) → sendMessage\n --file <path|url> Local file or https URL → sendFile\n --caption <text> Caption when sending a file (max 1024)\n --filename <name> File name with extension. Required with an\n https --file URL (API requires filename with\n body). Optional for a local path (default:\n basename). Ignored with --media-id.\n --media-id <id> WABA media id from `1msg media upload`\n --media-type <type> image | video | audio | document (required with --media-id)\n --voice Native voice note (audio/ogg only)\n --quote <wamid>\n -h, --help\n\nEXAMPLES\n $ 1msg send --to 12020721369 --text \"Hello\"\n $ 1msg send --chat-id 12020721369@c.us --text \"Hello\" --quote wamid.HBgN…\n $ 1msg send --to 12020721369 --file ./photo.jpg --caption \"Look\"\n $ 1msg send --to 12020721369 --file https://example.com/a.pdf --filename invoice.pdf\n $ 1msg send --to 12020721369 --media-id 123456 --media-type image\n\nA local --file is read from disk, encoded as a data URI, and sent as\nsendFile.body. An https URL is passed through as sendFile.body and **requires\n--filename**. This does not call uploadMedia unless you run `1msg media upload`\nyourself. Exit 1 if --file is an https URL without --filename.\n\n`1msg send` is only sendMessage + sendFile. The other 15 public send\noperations are under `1msg message --help` and `1msg template send`.\n",
16
+ "message": "Send, list, and mark messages.\n\nUSAGE\n 1msg message <command> [flags]\n\nCOMMANDS\n send Text or file (see 1msg send)\n list Stored chat history (GET /messages)\n read Mark a message as read (POST /readMessage)\n react Send or remove a reaction\n location Send a location pin\n location-request Ask the user to share location\n contact Send a contact card\n buttons Interactive reply buttons (max 3)\n menu Interactive list message (WhatsApp list)\n carousel Carousel\n product Product message\n cta CTA URL button\n address Address message\n order Order details\n payment Payment request\n sticker Sticker\n flow Send a Flow message\n\nSEND FORMATS (all 17 public send* operations)\n send --text POST /sendMessage\n send --file|--media-id POST /sendFile (url, data URI, mediaId, --voice)\n template send POST /sendTemplate (Cloud API components, MM Lite)\n react POST /sendReaction\n location POST /sendLocation\n location-request POST /sendLocationRequest\n contact POST /sendContact\n buttons POST /sendButton\n menu POST /sendList\n carousel POST /sendCarousel\n product POST /sendProduct\n cta POST /sendCtaUrl\n address POST /sendAddressMessage\n order POST /sendOrderDetails\n payment POST /sendPaymentRequest\n sticker POST /sendSticker\n flow POST /sendFlow\n\n`message list` is inbox history. WhatsApp interactive lists are `message menu`.\nCarousel-as-template (no 24h window) is `1msg template send --params`, not\n`message carousel`.\n\nEXAMPLES\n $ 1msg message send --to 12020721369 --text \"Hello\"\n $ 1msg message list --chat-id 12020721369@c.us --limit 20\n $ 1msg message location --to 12020721369 --lat 55.7558 --lng 37.6173\n $ 1msg message buttons --to 12020721369 --text \"Choose:\" --button yes:Yes\n $ 1msg template send --to 12020721369 --name hello_world --lang en\n",
17
17
  "message list": "USAGE\n 1msg message list [flags]\n\nFLAGS\n --chat-id <id> Filter one chat\n --limit <n> Max rows (API default 100)\n --last Latest first (DESC)\n --msg-id <id> Filter by stored message id\n --min-time <unix> Lower bound\n --max-time <unix> Upper bound\n --first-number <n>\n --last-number <n>\n\nCOLUMNS\n time chat_id from type id body\n\nEXAMPLES\n $ 1msg message list\n $ 1msg message list --chat-id 12020721369@c.us --limit 20 --last\n $ 1msg message list --limit 5 --json\n",
18
18
  "message read": "USAGE\n 1msg message read --message-id <id> [flags]\n\nFLAGS\n --message-id <id> Required. API field messageId / msgId\n --typing Show typing indicator (max 25s)\n\nThe read API does not take a chat id.\n\nEXAMPLES\n $ 1msg message read --message-id wamid.HBgNMTIwMjA3MjEzNjkVAgARGBI5RTBCNUY0QUE2RjZBQzhGNDkA\n $ 1msg message read --message-id wamid.… --typing\n",
19
19
  "message react": "USAGE\n 1msg message react --message-id <id> --emoji <emoji> [flags]\n\nFLAGS\n --to / --chat-id Required destination\n --message-id <id> Target message → API quotedMsgId\n --emoji <emoji> Reaction → API body. Empty string removes it\n\nEXAMPLES\n $ 1msg message react --to 12020721369 --message-id wamid.… --emoji \"👍\"\n $ 1msg message react --chat-id 12020721369@c.us --message-id wamid.… --emoji \"\"\n",
20
20
  "message location": "USAGE\n 1msg message location --lat <n> --lng <n> [flags]\n\nFLAGS\n --to / --chat-id / --quote\n --lat <n> Required, -90..90\n --lng <n> Required, -180..180\n --name <text>\n --address <text>\n\nEXAMPLES\n $ 1msg message location --to 12020721369 --lat 55.7558 --lng 37.6173 \\\n --name \"Red Square\" --address \"Moscow\"\n",
21
21
  "message location-request": "USAGE\n 1msg message location-request [flags]\n\nFLAGS\n --to / --chat-id / --quote\n --text <body> Optional prompt\n\nEXAMPLES\n $ 1msg message location-request --to 12020721369 --text \"Share your location\"\n",
22
22
  "message contact": "USAGE\n 1msg message contact --name <formatted> --phone <number> [flags]\n\nFLAGS\n --to / --chat-id / --quote\n --name <formatted> Required (formatted_name)\n --first-name <text>\n --last-name <text>\n --phone <number> Contact's phone (not the destination)\n --email <email>\n --org <company>\n --title <text>\n --url <url>\n --from-file <path> Full contact JSON (SendContactRequest)\n\nEXAMPLES\n $ 1msg message contact --to 12020721369 --name \"John Doe\" --phone +12020721369\n $ 1msg message contact --to 12020721369 --from-file contact.json\n",
23
- "message buttons": "USAGE\n 1msg message buttons --text <body> --button <id:title> [flags]\n\nFLAGS\n --to / --chat-id / --quote\n --text <body> Required, max 1024\n --footer <text> Max 60\n --button <id:title> Repeatable, max 3\n --from-file <path> Full SendButtonRequest JSON\n\nEXAMPLES\n $ 1msg message buttons --to 12020721369 --text \"Choose:\" \\\n --button yes:Yes --button no:No\n $ 1msg message buttons --to 12020721369 --from-file buttons.json\n",
23
+ "message buttons": "USAGE\n 1msg message buttons --text <body> --button <id:title> [flags]\n\nFLAGS\n --to / --chat-id / --quote\n --text <body> Required, max 1024\n --footer <text> Max 60\n --button <id:title> Repeatable, max 3\n --from-file <path> Full SendButtonRequest JSON. Optional\n interactive header (text/image/video/document)\n is only via --from-file, not a flag.\n\nEXAMPLES\n $ 1msg message buttons --to 12020721369 --text \"Choose:\" \\\n --button yes:Yes --button no:No\n $ 1msg message buttons --to 12020721369 --from-file buttons.json\n",
24
24
  "message menu": "USAGE\n 1msg message menu --from-file <path> [flags]\n\nAPI requires body, buttonText, and sections[]. sections[] is nested JSON,\nso --from-file is required. --text / --button-text / --title / --footer\noverride the file when set. Destination may be on the CLI or in the file.\n\nFLAGS\n --to / --chat-id / --quote\n --from-file <path> Required. `-` = stdin. Public sendList body\n --text <body> Override body (max 1024)\n --button-text <text> Override list button label (max 20)\n --title <text> Max 60\n --footer <text> Max 60\n\nEXAMPLES\n $ 1msg message menu --to 12020721369 --from-file menu.json\n $ 1msg message menu --from-file menu.json --text \"Pick one\" --button-text \"Open\"\n",
25
25
  "message carousel": "USAGE\n 1msg message carousel --from-file <path> [flags]\n\nFLAGS\n --to / --chat-id / --quote\n --text <body> Text above the carousel\n --from-file <path> Required. JSON with cards[] and/or params[]\n\nEXAMPLES\n $ 1msg message carousel --to 12020721369 --from-file carousel.json\n $ 1msg message carousel --to 12020721369 --text \"Pick a product\" --from-file cards.json\n",
26
26
  "message product": "USAGE\n 1msg message product [flags]\n\nExactly one of: --from-file, or --catalog-id plus --product-id (single product).\nProduct lists use --from-file (action.sections).\n\nFLAGS\n --to / --chat-id / --quote\n --text <body>\n --header <text> Product list only\n --footer <text>\n --catalog-id <id>\n --product-id <retailer-id> Single product (action.product_retailer_id)\n --from-file <path> Full body including action\n\nEXAMPLES\n $ 1msg message product --to 12020721369 --catalog-id 448008021021719 --product-id 0001\n $ 1msg message product --to 12020721369 --from-file product-list.json\n",
@@ -1 +1 @@
1
- {"version":3,"file":"help-text.js","sourceRoot":"","sources":["../src/help-text.ts"],"names":[],"mappings":";;;AA8CA,0BAGC;AAjDD,gFAAgF;AACnE,QAAA,SAAS,GAA2B;IAC/C,MAAM,EAAE,2jFAA2jF;IACnkF,MAAM,EAAE,82BAA82B;IACt3B,SAAS,EAAE,uzFAAuzF;IACl0F,aAAa,EAAE,0mBAA0mB;IACznB,cAAc,EAAE,moBAAmoB;IACnpB,aAAa,EAAE,spCAAspC;IACrqC,QAAQ,EAAE,iVAAiV;IAC3V,MAAM,EAAE,6tDAA6tD;IACruD,cAAc,EAAE,6tDAA6tD;IAC7uD,SAAS,EAAE,glCAAglC;IAC3lC,cAAc,EAAE,kmBAAkmB;IAClnB,cAAc,EAAE,oZAAoZ;IACpa,eAAe,EAAE,ycAAyc;IAC1d,kBAAkB,EAAE,yYAAyY;IAC7Z,0BAA0B,EAAE,8OAA8O;IAC1Q,iBAAiB,EAAE,qnBAAqnB;IACxoB,iBAAiB,EAAE,8fAA8f;IACjhB,cAAc,EAAE,wwBAAwwB;IACxxB,kBAAkB,EAAE,+ZAA+Z;IACnb,iBAAiB,EAAE,6oBAA6oB;IAChqB,aAAa,EAAE,mfAAmf;IAClgB,iBAAiB,EAAE,4fAA4f;IAC/gB,eAAe,EAAE,+jBAA+jB;IAChlB,iBAAiB,EAAE,+YAA+Y;IACla,iBAAiB,EAAE,siBAAsiB;IACzjB,cAAc,EAAE,wxBAAwxB;IACxyB,UAAU,EAAE,iSAAiS;IAC7S,eAAe,EAAE,gQAAgQ;IACjR,eAAe,EAAE,0uBAA0uB;IAC3vB,cAAc,EAAE,quBAAquB;IACrvB,iBAAiB,EAAE,quBAAquB;IACxvB,IAAI,EAAE,0hBAA0hB;IAChiB,OAAO,EAAE,w9BAAw9B;IACj+B,OAAO,EAAE,mnCAAmnC;IAC5nC,MAAM,EAAE,00DAA00D;IACl1D,SAAS,EAAE,ybAAyb;IACpc,MAAM,EAAE,oTAAoT;IAC5T,SAAS,EAAE,6eAA6e;IACxf,MAAM,EAAE,o6CAAo6C;IAC56C,YAAY,EAAE,85EAA85E;IAC56E,SAAS,EAAE,gJAAgJ;IAC3J,gBAAgB,EAAE,iVAAiV;CACpW,CAAC;AAEF,SAAgB,OAAO,CAAC,IAAY;IAClC,IAAI,CAAC,IAAI,IAAI,IAAI,KAAK,MAAM;QAAE,OAAO,iBAAS,CAAC,IAAI,CAAC;IACpD,OAAO,iBAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"}
1
+ {"version":3,"file":"help-text.js","sourceRoot":"","sources":["../src/help-text.ts"],"names":[],"mappings":";;;AA8CA,0BAGC;AAjDD,gFAAgF;AACnE,QAAA,SAAS,GAA2B;IAC/C,MAAM,EAAE,2jFAA2jF;IACnkF,MAAM,EAAE,82BAA82B;IACt3B,SAAS,EAAE,uzFAAuzF;IACl0F,aAAa,EAAE,0mBAA0mB;IACznB,cAAc,EAAE,moBAAmoB;IACnpB,aAAa,EAAE,spCAAspC;IACrqC,QAAQ,EAAE,iVAAiV;IAC3V,MAAM,EAAE,22DAA22D;IACn3D,cAAc,EAAE,22DAA22D;IAC33D,SAAS,EAAE,q0EAAq0E;IACh1E,cAAc,EAAE,kmBAAkmB;IAClnB,cAAc,EAAE,oZAAoZ;IACpa,eAAe,EAAE,ycAAyc;IAC1d,kBAAkB,EAAE,yYAAyY;IAC7Z,0BAA0B,EAAE,8OAA8O;IAC1Q,iBAAiB,EAAE,qnBAAqnB;IACxoB,iBAAiB,EAAE,gqBAAgqB;IACnrB,cAAc,EAAE,wwBAAwwB;IACxxB,kBAAkB,EAAE,+ZAA+Z;IACnb,iBAAiB,EAAE,6oBAA6oB;IAChqB,aAAa,EAAE,mfAAmf;IAClgB,iBAAiB,EAAE,4fAA4f;IAC/gB,eAAe,EAAE,+jBAA+jB;IAChlB,iBAAiB,EAAE,+YAA+Y;IACla,iBAAiB,EAAE,siBAAsiB;IACzjB,cAAc,EAAE,wxBAAwxB;IACxyB,UAAU,EAAE,iSAAiS;IAC7S,eAAe,EAAE,gQAAgQ;IACjR,eAAe,EAAE,0uBAA0uB;IAC3vB,cAAc,EAAE,quBAAquB;IACrvB,iBAAiB,EAAE,quBAAquB;IACxvB,IAAI,EAAE,0hBAA0hB;IAChiB,OAAO,EAAE,w9BAAw9B;IACj+B,OAAO,EAAE,mnCAAmnC;IAC5nC,MAAM,EAAE,00DAA00D;IACl1D,SAAS,EAAE,ybAAyb;IACpc,MAAM,EAAE,oTAAoT;IAC5T,SAAS,EAAE,6eAA6e;IACxf,MAAM,EAAE,o6CAAo6C;IAC56C,YAAY,EAAE,85EAA85E;IAC56E,SAAS,EAAE,gJAAgJ;IAC3J,gBAAgB,EAAE,iVAAiV;CACpW,CAAC;AAEF,SAAgB,OAAO,CAAC,IAAY;IAClC,IAAI,CAAC,IAAI,IAAI,IAAI,KAAK,MAAM;QAAE,OAAO,iBAAS,CAAC,IAAI,CAAC;IACpD,OAAO,iBAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"}
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export declare const CLI_NAME = "@1msg/cli";
2
- export declare const CLI_VERSION = "0.1.0";
2
+ export declare const CLI_VERSION = "0.1.2";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CLI_VERSION = exports.CLI_NAME = void 0;
4
4
  exports.CLI_NAME = '@1msg/cli';
5
- exports.CLI_VERSION = '0.1.0';
5
+ exports.CLI_VERSION = '0.1.2';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1msg/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Command-line client for the 1msg WhatsApp Business API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -15,7 +15,8 @@
15
15
  "access": "public"
16
16
  },
17
17
  "bin": {
18
- "1msg": "./dist/index.js"
18
+ "1msg": "./dist/index.js",
19
+ "cli": "./dist/index.js"
19
20
  },
20
21
  "main": "./dist/index.js",
21
22
  "types": "./dist/index.d.ts",