test more subcommands
@@ -24,13 +24,21 @@ requirements:
host:
- openssl # [unix]
+{% set cid = "/ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc" %}
+{% set ipfs_args = "-c ./.ipfs-repo --debug" %}
+
test:
commands:
- ipfs --version
- - ipfs -c ./.ipfs-repo --debug init
- - ipfs -c ./.ipfs-repo --debug cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme
- - echo 'hello world' > hello
- - ipfs -c ./.ipfs-repo --debug add hello
+ - ipfs --help
+ - ipfs commands
+ - ipfs {{ ipfs_args }} init
+ - ipfs {{ ipfs_args }} ls {{ cid }}
+ - ipfs {{ ipfs_args }} refs {{ cid }}
+ - ipfs {{ ipfs_args }} cat {{ cid }}/readme
+ - ipfs {{ ipfs_args }} get {{ cid }}
+ - echo 'hello world' > hello.txt
+ - ipfs {{ ipfs_args }} add hello.txt
about:
home: https://ipfs.io
