diff --git a/testdata/get__ok__with__binary.ct b/testdata/get__ok__with__binary.ct new file mode 100644 index 0000000..ce97ada --- /dev/null +++ b/testdata/get__ok__with__binary.ct @@ -0,0 +1,3 @@ +$ pda set a b +$ pda get a --include-binary +b diff --git a/testdata/get__ok__with__binary_run.ct b/testdata/get__ok__with__binary_run.ct new file mode 100644 index 0000000..316c09f --- /dev/null +++ b/testdata/get__ok__with__binary_run.ct @@ -0,0 +1,6 @@ +$ pda set foo bar +$ pda get foo --include-binary --run +fish: Unknown command: bar +fish: +bar +^~^ diff --git a/testdata/get__ok__with__binary_run_secret.ct b/testdata/get__ok__with__binary_run_secret.ct new file mode 100644 index 0000000..96cdf76 --- /dev/null +++ b/testdata/get__ok__with__binary_run_secret.ct @@ -0,0 +1,6 @@ +$ pda set foo bar +$ pda get foo --include-binary --run --secret +fish: Unknown command: bar +fish: +bar +^~^ diff --git a/testdata/get__ok__with__run.ct b/testdata/get__ok__with__run.ct new file mode 100644 index 0000000..e74e0c1 --- /dev/null +++ b/testdata/get__ok__with__run.ct @@ -0,0 +1,6 @@ +$ fecho cmd echo hello +$ pda set a < cmd +$ pda get a +echo hello +$ pda get a --run +hello diff --git a/testdata/get__ok__with__run_secret.ct b/testdata/get__ok__with__run_secret.ct new file mode 100644 index 0000000..aaff747 --- /dev/null +++ b/testdata/get__ok__with__run_secret.ct @@ -0,0 +1,6 @@ +$ fecho cmd echo hello +$ pda set a < cmd +$ pda get a +echo hello +$ pda get a --run --secret +hello diff --git a/testdata/get__ok__with__secret.ct b/testdata/get__ok__with__secret.ct new file mode 100644 index 0000000..afc0731 --- /dev/null +++ b/testdata/get__ok__with__secret.ct @@ -0,0 +1,3 @@ +$ pda set foo bar +$ pda get foo --secret +bar