Skip to content

Commit

Permalink
Merge pull request #281 from ardriveapp/dev
Browse files Browse the repository at this point in the history
PE-1491: Release ArDrive CLI v1.14.0
  • Loading branch information
fedellen authored May 10, 2022
2 parents 7bf842a + 45942b6 commit bb7f100
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .pnp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
27 changes: 19 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ ardrive create-drive --wallet-file /path/to/my/wallet.json --drive-name "Teenage
{
"type": "drive",
"metadataTxId": "giv2R8Xj0bbe6l5taBTQJk_38zwIrMH_g1-knSCisjU",
"entityId": "898687ea-b678-4f86-b4e7-49560b190356"
"entityId": "898687ea-b678-4f86-b4e7-49560b190356",
"bundledIn": "Vj2x4IBEAezBvhj5RgtA247W_q3S10suI6l0E30GPoE",
"entityName": "Teenage Love Poetry"
},
{
"type": "folder",
"metadataTxId": "VljnttwUxRStnVuPYakF9e2whjhYJVWB0nSxD5dVyJ8",
"entityId": "f0c58c11-430c-4383-8e54-4d864cc7e927"
"entityId": "f0c58c11-430c-4383-8e54-4d864cc7e927",
"bundledIn": "Vj2x4IBEAezBvhj5RgtA247W_q3S10suI6l0E30GPoE",
"entityName": "Teenage Love Poetry"
},
{
"type": "bundle",
Expand All @@ -34,9 +38,12 @@ ardrive upload-file --wallet-file /path/to/my/wallet.json --parent-folder-id "f0
"created": [
{
"type": "file",
"metadataTxId": "EvE06MmE9IKeUzFMnxSgY1M5tJX4uHU64-n8Pf_lZfU",
"entityName": "ode_to_ardrive.txt",
"entityId": "bd2ce978-6ede-4b0d-8f79-2d7bc235a0e0",
"dataTxId": "tSMcfvAQu_tKLUkdvRRbqdX93oAf3h6c9eJsSj8mXL4",
"entityId": "bd2ce978-6ede-4b0d-8f79-2d7bc235a0e0"
"metadataTxId": "EvE06MmE9IKeUzFMnxSgY1M5tJX4uHU64-n8Pf_lZfU",
"bundledIn": "qjdHiQoWlSjCvhj5RgtA247W_q3S10suI6l0E30GPoE",
"sourceUri": "file://Users/BestArDriver/Uploads/helloworld.txt"
},
{
"type": "bundle",
Expand Down Expand Up @@ -351,7 +358,7 @@ At the root of every data tree is a "Drive" entity. When a drive is created, a R
# Use `tee` to keep a receipt of the full set of transactions info and `jq` to focus on the data of interest
ardrive create-drive --wallet-file /path/to/my/wallet.json --drive-name "Teenage Love Poetry" |
tee created_drive.json |
jq '[.created[] | del(.metadataTxId)]'
jq '[.created[] | del(.metadataTxId, .entityName, .bundledIn)]'
[
{
"type": "drive",
Expand Down Expand Up @@ -547,7 +554,8 @@ Example output:
"type": "folder",
"metadataTxId": "AYFMBVmwqhbg9y5Fbj3Iasy5oxUqhauOW7PcS1sl4Dk",
"entityId": "d1b7c514-fb12-4603-aad8-002cf63015d3",
"key": "yHdCjpCKD2cuhQcKNx2d/XF5ReEjoKfZVqKunlCnPEk"
"key": "yHdCjpCKD2cuhQcKNx2d/XF5ReEjoKfZVqKunlCnPEk",
"entityName": "My Awesome Folder"
}
],
"tips": [],
Expand Down Expand Up @@ -712,9 +720,12 @@ Example output:
"created": [
{
"type": "file",
"metadataTxId": "YfdDXUyerPCpBbGTm_gv_x5hR3tu5fnz8bM-jPL__JE",
"dataTxId": "l4iNWyBapfAIj7OU-nB8z9XrBhawyqzs5O9qhk-3EnI",
"entityName": "file.txt"
"entityId": "6613395a-cf19-4420-846a-f88b7b765c05"
"dataTxId": "l4iNWyBapfAIj7OU-nB8z9XrBhawyqzs5O9qhk-3EnI",
"metadataTxId": "YfdDXUyerPCpBbGTm_gv_x5hR3tu5fnz8bM-jPL__JE",
"bundledIn": "1zwdfZAIV8E26YjBs2ZQ4xjjP_1ewalvRgD_GyYw7f8",
"sourceUri": "file:///path/to/file.txt"
},
{
"type": "bundle",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "ardrive-cli",
"version": "1.13.1",
"version": "1.14.0",
"description": "The ArDrive Command Line Interface (CLI is a Node.js application for terminal-based ArDrive workflows. It also offers utility operations for securely interacting with Arweave wallets and inspecting various Arweave blockchain conditions.",
"main": "./lib/index.js",
"bin": {
"ardrive": "./lib/index.js"
},
"types": "./lib/index.d.ts",
"dependencies": {
"ardrive-core-js": "1.12.0",
"ardrive-core-js": "1.13.0",
"arweave": "1.10.18",
"axios": "^0.21.1",
"commander": "^8.2.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1538,7 +1538,7 @@ __metadata:
"@types/source-map-support": ^0
"@typescript-eslint/eslint-plugin": ^4.18.0
"@typescript-eslint/parser": ^4.18.0
ardrive-core-js: 1.12.0
ardrive-core-js: 1.13.0
arweave: 1.10.18
axios: ^0.21.1
chai: ^4.3.4
Expand All @@ -1564,9 +1564,9 @@ __metadata:
languageName: unknown
linkType: soft

"ardrive-core-js@npm:1.12.0":
version: 1.12.0
resolution: "ardrive-core-js@npm:1.12.0"
"ardrive-core-js@npm:1.13.0":
version: 1.13.0
resolution: "ardrive-core-js@npm:1.13.0"
dependencies:
"@alexsasharegan/simple-cache": ^3.3.3
arbundles: ^0.5.5
Expand All @@ -1584,7 +1584,7 @@ __metadata:
smartweave: ^0.4.45
utf8: ^3.0.0
uuid: ^8.3.2
checksum: 631befa51d89947efdc99efaa8b092a3bde03f25b894c93563848e41acfa7cfb5c7e235bbd244a3a12f362538f716026f83c32a374cd093add302d814ccbb2ab
checksum: d363267352a24aa2f4ca494dff76facf63722457bad2366b5f90ad7c32d87a8d32a9e502c2923b4c456c911b900157db9bd42ad653c50f1ba34160daff2dc214
languageName: node
linkType: hard

Expand Down

0 comments on commit bb7f100

Please sign in to comment.