diff --git a/README.md b/README.md index 58d16ead..e57dbb32 100644 --- a/README.md +++ b/README.md @@ -516,7 +516,7 @@ Create a database. USAGE $ fauna create-database DBNAME [--url ] [--timeout ] - [--secret ] [--endpoint ] + [--secret ] [--endpoint ] [--stack ] ARGUMENTS DBNAME database name @@ -524,6 +524,7 @@ ARGUMENTS FLAGS --endpoint= Connection endpoint, from ~/.fauna-shell --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -551,7 +552,7 @@ Create a key for the specified database. USAGE $ fauna create-key DBNAME [ROLE] [--url ] [--timeout ] - [--secret ] [--endpoint ] + [--secret ] [--endpoint ] [--stack ] ARGUMENTS DBNAME database name @@ -560,6 +561,7 @@ ARGUMENTS FLAGS --endpoint= Connection endpoint, from ~/.fauna-shell --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -584,7 +586,7 @@ Delete a database. USAGE $ fauna delete-database DBNAME [--url ] [--timeout ] - [--secret ] [--endpoint ] + [--secret ] [--endpoint ] [--stack ] ARGUMENTS DBNAME database name @@ -592,6 +594,7 @@ ARGUMENTS FLAGS --endpoint= Connection endpoint, from ~/.fauna-shell --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -616,7 +619,7 @@ Delete a key. USAGE $ fauna delete-key KEYNAME [--url ] [--timeout ] - [--secret ] [--endpoint ] + [--secret ] [--endpoint ] [--stack ] ARGUMENTS KEYNAME key name @@ -624,6 +627,7 @@ ARGUMENTS FLAGS --endpoint= Connection endpoint, from ~/.fauna-shell --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -765,9 +769,9 @@ Evaluate the given query. USAGE $ fauna eval [DBNAME] [QUERY] [--url ] [--timeout - ] [--secret ] [--endpoint ] [--file ] [--stdin] - [--output ] [--format json|json-tagged|shell] [--version 4|10] - [--typecheck] + ] [--secret ] [--endpoint ] [--stack ] [--file + ] [--stdin] [--output ] [--format json|json-tagged|shell] + [--version 4|10] [--typecheck] ARGUMENTS DBNAME Database name @@ -780,6 +784,7 @@ FLAGS --output= File to write output to --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --stdin Read file input from stdin. Writes to stdout by default --timeout= Connection timeout in milliseconds --typecheck Enable typechecking @@ -855,9 +860,9 @@ Import data to Fauna. USAGE $ fauna import --path [--url ] [--timeout ] - [--secret ] [--endpoint ] [--db ] [--collection - ] [--type ] [--append] [--allow-short-rows] [--dry-run] - [--treat-empty-csv-cells-as empty|null] + [--secret ] [--endpoint ] [--stack ] [--db ] + [--collection ] [--type ] [--append] [--allow-short-rows] + [--dry-run] [--treat-empty-csv-cells-as empty|null] FLAGS --allow-short-rows @@ -888,6 +893,9 @@ FLAGS --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= + Stack to use, from a Fauna project + --timeout= Connection timeout in milliseconds @@ -977,11 +985,12 @@ List child databases in the current database. USAGE $ fauna list-databases [--url ] [--timeout ] [--secret - ] [--endpoint ] + ] [--endpoint ] [--stack ] FLAGS --endpoint= Connection endpoint, from ~/.fauna-shell --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -1006,11 +1015,12 @@ List keys in the current database. USAGE $ fauna list-keys [--url ] [--timeout ] [--secret - ] [--endpoint ] + ] [--endpoint ] [--stack ] FLAGS --endpoint= Connection endpoint, from ~/.fauna-shell --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -1071,13 +1081,14 @@ Print the diff between local and remote schema. USAGE $ fauna schema diff [--url ] [--timeout ] [--secret - ] [--endpoint ] [--dir ] + ] [--endpoint ] [--stack ] [--dir ] FLAGS --dir= The directory of .fsl files to push. Defaults to the directory of `.fauna-project` --endpoint= Connection endpoint, from ~/.fauna-shell --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -1111,7 +1122,7 @@ Push the current project's .fsl files to Fauna. USAGE $ fauna schema push [--url ] [--timeout ] [--secret - ] [--endpoint ] [--dir ] [--force] + ] [--endpoint ] [--stack ] [--dir ] [--force] FLAGS --dir= The directory of .fsl files to push. Defaults to the @@ -1119,6 +1130,7 @@ FLAGS --endpoint= Connection endpoint, from ~/.fauna-shell --force Push the change without a diff or schema version check --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -1149,7 +1161,7 @@ Pull a database schema's .fsl files into the current project. USAGE $ fauna schema pull [--url ] [--timeout ] [--secret - ] [--endpoint ] [--dir ] [--delete] + ] [--endpoint ] [--stack ] [--dir ] [--delete] FLAGS --delete Delete .fsl files in the target directory that are not @@ -1158,6 +1170,7 @@ FLAGS directory of `.fauna-project` --endpoint= Connection endpoint, from ~/.fauna-shell --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --timeout= Connection timeout in milliseconds --url= Database URL. Overrides the `url` in ~/.fauna-shell @@ -1177,8 +1190,9 @@ Start an interactive shell. USAGE $ fauna shell [DB_PATH] [--url ] [--timeout ] - [--secret ] [--endpoint ] [--file ] [--stdin] [--output - ] [--format json|json-tagged|shell] [--version 4|10] [--typecheck] + [--secret ] [--endpoint ] [--stack ] [--file ] + [--stdin] [--output ] [--format json|json-tagged|shell] [--version + 4|10] [--typecheck] ARGUMENTS DB_PATH Database path @@ -1190,6 +1204,7 @@ FLAGS --output= File to write output to --secret= Secret key. Overrides the `secret` in ~/.fauna-shell + --stack= Stack to use, from a Fauna project --stdin Read file input from stdin. Writes to stdout by default --timeout= Connection timeout in milliseconds --typecheck Enable typechecking @@ -1289,8 +1304,8 @@ Upload GraphQL schema. USAGE $ fauna upload-graphql-schema GRAPHQLFILEPATH [--url ] [--timeout ] - [--secret ] [--endpoint ] [--graphqlHost ] - [--graphqlPort ] [--mode merge|override|replace] + [--secret ] [--endpoint ] [--stack ] [--graphqlHost + ] [--graphqlPort ] [--mode merge|override|replace] ARGUMENTS GRAPHQLFILEPATH Path to GraphQL schema @@ -1302,6 +1317,7 @@ FLAGS --mode=