Skip to content

Jac/args - #134

Merged
jacalata merged 12 commits into
developmentfrom
jac/token_args
Jul 8, 2022
Merged

Jac/args#134
jacalata merged 12 commits into
developmentfrom
jac/token_args

Conversation

@jacalata

@jacalata jacalata commented Jun 23, 2022

Copy link
Copy Markdown
Contributor

[Defect 1427376:] --save-db-password doesn't take an argument, same for other args to publish command
[Defect 1427036] Improvements for CLI help/usage: no two-letter short arguments, no arguments that are a substring of another argument, command-specific help

e.g
c:\dev\tabcmd2>python -m tabcmd help refreshextracts
refreshextracts Refresh the extracts of a workbook or data source on the server

Optional arguments
-h --help show this help message and exit
-d --datasource The name of the target datasource.
-w --workbook The name of the target workbook.
--url The canonical name for the resource as it appears in the URL
--incremental Runs the incremental refresh operation.
--synchronous Adds the full refresh operation to the queue used by the Backgrounder process, to be run as soon as a Backgrounder process is available.
--addcalculations DEPRECATED [has no effect] Add precalculated data operations in the extract data source.
--removecalculations DEPRECATED [has no effect] Remove precalculated data in the extract data source.
--project The name of the project.
--parent-project-path path of parent project

Usage
refreshextracts [--optional arguments]

@jacalata
jacalata changed the base branch from main to development June 23, 2022 06:27
@jacalata jacalata changed the title Jac/token args Jac/args Jun 23, 2022
jacalata and others added 9 commits June 23, 2022 13:50
fix build command
add options in pyproject.toml so you just run 'black .'
update contributors
--save-db-password flag thinks it should get an argument
also updated several other publishing arguments that had the same problem
- change argument from "token" to "token-value" so it is not a substring of "token-name"
- remove the bad two-letter short arguments
Built a template for individual commands
fix test, remove unnecessary string parts
jacalata and others added 3 commits June 24, 2022 13:45
@jacalata
jacalata merged commit 648d7b2 into development Jul 8, 2022
@jacalata
jacalata deleted the jac/token_args branch July 8, 2022 20:05
jacalata added a commit that referenced this pull request Nov 10, 2022
Dropped support for python < 3.9
Changed argument from "token" to "token-value" so it is not a substring of "token-name", remove the 2-letter short arguments

Release 2.0.6
* add step to list dependencies for licensing
* Defect 1427376: [Tabcmd WAM] --save-db-password flag thinks it should get an argument (#134)
* Fix exit_with_error handling (#137)
* TFS 1428581 publish project (#139)
* Defect 1426885: [Tabcmd WAM] addusers and removeusers error, fix deletegroup (#140)
* clearly indicate when using the default site (#141)
* Fix export success log message params (#142)
* Jac/tfs 1428582 create edit site (#146)
* Fix get view, get csv file extensions (#143)
* Change install destination to /tabcmd instead of /src (#150)
* Defect 1428581: [Tabcmd WAM] Publishing to projects other than default throws an error  (#145)
* Jac/delete command (#144)
* Jac/e2e test workflow (#154)
* Add command to list items of a given content type (#153)
* make export use filters, add tests (#164)
* Fix some e2e tests (#166)
* Trace logging and bug fix (#165)

Release 2.0.7
* Implement command line and url parameters for get/export (#175)
* recognize more values for yes on command line (#173)
* fully port to pyproject.toml (#182)
* implement pdf layout/page type (#184, #169)
* tfs 1427025: Confusing error message related to sign-in (#187), (#190)
* stop duplicate logging in session
* extract encryption defaults to false (#193)
* call sites endpoint correctly (#194)
* publish data source to Tableau Cloud for published live connection with Tableau Bridge (#195)

Co-authored-by: Brian Cantoni <bcantoni@salesforce.com>
Co-authored-by: Bhuvnesh Singh <bhuvnesh.singh@salesforce.com>
jacalata added a commit that referenced this pull request Dec 16, 2022
* Defect 1427376: [Tabcmd WAM] --save-db-password flag thinks it should get an argument
 -updated several other publishing arguments that had the same problem
- change argument from "token" to "token-value" so it is not a substring of "token-name", remove the 2-letter short arguments
* fix reencrypt_extracts help string
* Hand format a nice help output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants