@negokaz/excel-cli 0.3.0 → 0.4.1

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/README.md CHANGED
@@ -37,7 +37,7 @@ gh skill install negokaz/excel-cli excel-cli
37
37
  ```text
38
38
  excel-cli read <file> <path> [--value | --formula | --style]
39
39
  excel-cli query <file> <path>
40
- excel-cli write <file> <path> (--value <json> | --formula <json> | --style <json> | --props <json>)
40
+ excel-cli write <file> <path> (--value <json|-> | --formula <json|-> | --style <json|-> | --props <json|->)
41
41
  excel-cli add <file> <path>
42
42
  excel-cli remove <file> <path> [--force]
43
43
  excel-cli export <file> <path> --format <html|png> [--formula] [--style]
@@ -97,6 +97,7 @@ excel-cli write book.xlsx /Data/A2:B2 --value '[["Alice",95]]'
97
97
  excel-cli write book.xlsx /Data/C2 --formula '[["=SUM(3,4)"]]'
98
98
  excel-cli write book.xlsx /Data/A1:B1 --style '[[{"font":{"bold":true}}, null]]'
99
99
  excel-cli write book.xlsx /Hidden%20Sheet --props '{"hidden":false}'
100
+ echo '[[123]]' | excel-cli write book.xlsx /Data/A1 --value -
100
101
  ```
101
102
 
102
103
  Create and remove worksheets:
@@ -123,6 +124,7 @@ HTML and PNG files are created under `.excel-cli/`.
123
124
  - `write --value`, `write --formula`, and `read --value`, `read --formula` are designed to round-trip through the same 2-dimensional JSON shape
124
125
  - `write --style` accepts a 2-dimensional array of style objects or `null`
125
126
  - `write --props` currently supports only worksheet `hidden`
127
+ - `write` reads the JSON payload from standard input when the selected update argument is `-`
126
128
  - `remove` fails if the target sheet does not exist or if it is the workbook's only worksheet
127
129
 
128
130
  The design notes in [docs/](docs/index.md) are the primary reference for command contracts and migration intent.
@@ -1 +1 @@
1
- [{"name":"metadata.json","path":"dist/metadata.json","internal_type":35,"type":"Metadata"},{"name":"excel-cli","path":"dist/excel-cli_darwin_amd64_v1/excel-cli","goos":"darwin","goarch":"amd64","goamd64":"v1","target":"darwin_amd64_v1","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":"","ID":"excel-cli"}},{"name":"excel-cli","path":"dist/excel-cli_darwin_arm64_v8.0/excel-cli","goos":"darwin","goarch":"arm64","goarm64":"v8.0","target":"darwin_arm64_v8.0","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":"","ID":"excel-cli"}},{"name":"excel-cli","path":"dist/excel-cli_linux_amd64_v1/excel-cli","goos":"linux","goarch":"amd64","goamd64":"v1","target":"linux_amd64_v1","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":"","ID":"excel-cli"}},{"name":"excel-cli.exe","path":"dist/excel-cli_windows_arm64_v8.0/excel-cli.exe","goos":"windows","goarch":"arm64","goarm64":"v8.0","target":"windows_arm64_v8.0","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":".exe","ID":"excel-cli"}},{"name":"excel-cli.exe","path":"dist/excel-cli_windows_amd64_v1/excel-cli.exe","goos":"windows","goarch":"amd64","goamd64":"v1","target":"windows_amd64_v1","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":".exe","ID":"excel-cli"}},{"name":"excel-cli","path":"dist/excel-cli_linux_arm64_v8.0/excel-cli","goos":"linux","goarch":"arm64","goarm64":"v8.0","target":"linux_arm64_v8.0","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":"","ID":"excel-cli"}}]
1
+ [{"name":"metadata.json","path":"dist/metadata.json","internal_type":35,"type":"Metadata"},{"name":"excel-cli","path":"dist/excel-cli_darwin_arm64_v8.0/excel-cli","goos":"darwin","goarch":"arm64","goarm64":"v8.0","target":"darwin_arm64_v8.0","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":"","ID":"excel-cli"}},{"name":"excel-cli","path":"dist/excel-cli_darwin_amd64_v1/excel-cli","goos":"darwin","goarch":"amd64","goamd64":"v1","target":"darwin_amd64_v1","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":"","ID":"excel-cli"}},{"name":"excel-cli.exe","path":"dist/excel-cli_windows_amd64_v1/excel-cli.exe","goos":"windows","goarch":"amd64","goamd64":"v1","target":"windows_amd64_v1","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":".exe","ID":"excel-cli"}},{"name":"excel-cli","path":"dist/excel-cli_linux_amd64_v1/excel-cli","goos":"linux","goarch":"amd64","goamd64":"v1","target":"linux_amd64_v1","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":"","ID":"excel-cli"}},{"name":"excel-cli.exe","path":"dist/excel-cli_windows_arm64_v8.0/excel-cli.exe","goos":"windows","goarch":"arm64","goarm64":"v8.0","target":"windows_arm64_v8.0","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":".exe","ID":"excel-cli"}},{"name":"excel-cli","path":"dist/excel-cli_linux_arm64_v8.0/excel-cli","goos":"linux","goarch":"arm64","goarm64":"v8.0","target":"linux_arm64_v8.0","internal_type":4,"type":"Binary","extra":{"Binary":"excel-cli","Builder":"go","Ext":"","ID":"excel-cli"}}]
@@ -1 +1 @@
1
- {"project_name":"excel-cli","tag":"v0.3.0","previous_tag":"v0.2.0","version":"0.3.0-SNAPSHOT-577cff9","commit":"577cff9ff59726dd9b0341b1bb7a5b053aaf1d26","date":"2026-06-07T13:17:03.769006632Z","runtime":{"goos":"linux","goarch":"amd64"}}
1
+ {"project_name":"excel-cli","tag":"v0.4.1","previous_tag":"v0.4.0","version":"0.4.1-SNAPSHOT-ae8949d","commit":"ae8949df7ca19950bec1fbb576331f7c6adbcc5e","date":"2026-06-07T14:44:03.86263517Z","runtime":{"goos":"linux","goarch":"amd64"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@negokaz/excel-cli",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "CLI tool for Excel operations",
5
5
  "license": "MIT",
6
6
  "repository": {