Skip to content

Conversation

@jacalata
Copy link
Contributor

New output:
c:\dev\tabcmd2>python -m tabcmd list flows
...
===== Listing flows content for user jfitzgerald...
ID: e474461c-48b5-4b8c-998a-d6169bdcdfaa NAME: Superstore Flow
ID: fc2a744d-8adc-43b7-9726-f9824a9c9480 NAME: New Flow
ID: f7fa9e66-5aee-436f-bd4a-b723d0fa53c1 NAME: 1467593_2
ID: 325411a1-f09f-4d27-b917-390370b068d6 NAME: recommendation_fuzzymatch
ID: e9f550f3-55a4-4c86-ada0-9ec225b372f2 NAME: Superstore Flow
ID: 1609fd25-5a01-4c09-b2e3-6b1c58e3c47e NAME: New Flow Mugdha

c:\dev\tabcmd2>python -m tabcmd list datasources --details
.....
===== Listing datasources content for user jfitzgerald...
ID: 51eaf81e-55bb-4e70-a100-431353fb411a NAME: Superstore Datasource
<Datasource 51eaf81e-55bb-4e70-a100-431353fb411a 'Superstore Datasource' (No Description parent=d91473ce-d525-4fd9-a700-903dadd6b509 >
ID: 1d09a6a8-d7a2-450e-983e-9d5452f72077 NAME: TEST_TABLE (FLOWS.TEST_TABLE) (FLOWS)
<Datasource 1d09a6a8-d7a2-450e-983e-9d5452f72077 'TEST_TABLE (FLOWS.TEST_TABLE) (FLOWS)' (No Description parent=9805de24-39e1-11ed-b992-87f3890f3503 >

c:\dev\tabcmd2>python -m tabcmd list workbooks --details
....
===== Listing workbooks content for user jfitzgerald...
ID: aaacfae5-4cf3-4c75-b680-f8308ec1639a NAME: Regional
<WorkbookItem aaacfae5-4cf3-4c75-b680-f8308ec1639a 'Regional' contentUrl='Regional' project=d91473ce-d525-4fd9-a700-903dadd6b509>
ID: f8cf4338-2c49-47ae-a7e3-0ae2c051b5c9 NAME: Superstore
<WorkbookItem f8cf4338-2c49-47ae-a7e3-0ae2c051b5c9 'Superstore' contentUrl='Superstore' project=d91473ce-d525-4fd9-a700-903dadd6b509>

jacalata added 6 commits March 8, 2023 22:22
unrelated, except that I hit this code and saw the output was ugly.
Also add a "nothing found" message instead of just exiting silently.
and clean up strings from merge
@jacalata jacalata force-pushed the jac/content-listing branch from 5f8eb6a to 4da08bd Compare March 9, 2023 07:09
@github-actions
Copy link

github-actions bot commented Mar 9, 2023

Coverage

Coverage Report
FileStmtsMissCoverMissing
tabcmd
   __main__.py888 0%
   tabcmd.py141414 0%
   version.py633 50%
tabcmd/commands
   commands.py101010 0%
   constants.py6788 88%
   server.py1262626 79%
tabcmd/commands/auth
   session.py3444747 86%
tabcmd/commands/datasources_and_workbooks
   datasources_and_workbooks_command.py1171313 89%
   delete_command.py601616 73%
   export_command.py1282828 78%
   get_url_command.py1906262 67%
   publish_command.py661919 71%
   runschedule_command.py2177 67%
tabcmd/commands/extracts
   create_extracts_command.py4288 81%
   decrypt_extracts_command.py2722 93%
   delete_extracts_command.py3766 84%
   encrypt_extracts_command.py2722 93%
   extracts.py2022 90%
   reencrypt_extracts_command.py2722 93%
   refresh_extracts_command.py481313 73%
tabcmd/commands/group
   create_group_command.py2955 83%
   delete_group_command.py2722 93%
tabcmd/commands/project
   create_project_command.py4688 83%
   delete_project_command.py3544 89%
   publish_samples_command.py2844 86%
tabcmd/commands/site
   create_site_command.py3455 85%
   delete_site_command.py2822 93%
   edit_site_command.py3822 95%
   list_command.py441010 77%
   list_sites_command.py3022 93%
tabcmd/commands/user
   create_site_users.py571010 82%
   create_users_command.py601010 83%
   delete_site_users_command.py4355 88%
   user_data.py2203030 86%
tabcmd/execution
   _version.py222 0%
   global_options.py1442424 83%
   localize.py6788 88%
   logger_config.py4266 86%
   tabcmd_controller.py3544 89%
TOTAL257143983% 

@jacalata jacalata merged commit 1361c92 into development Mar 11, 2023
@jacalata jacalata deleted the jac/content-listing branch March 11, 2023 22:17
@jacalata jacalata mentioned this pull request Jul 27, 2023
jacalata added a commit that referenced this pull request Jul 28, 2023
Fixes, code enhancements
* remove lowercase call while parsing csv for adding users
* set user agent (#219)
* Add and clean up logging, always include version in logs (#234, #224)
* Encoding filter values to handle spaces and special chars in filters  (#225)
* replace polling code with library call
* readme updates (#235)
* Read and warn when user sets thumbnail options. (including 'not yet implemented' message for --thumbnail-group)
* freeze tsc dependency (#248)

New functionality
* added new --filter option to pass in un-encoded value for simpler input
* Add --url, --include-all/--embedded-datasources for create/refresh/delete extract commands (#227)
* Add new command for listing content on the site (#230)
* Implement publishing options overwrite/append/replace arguments (including not-yet-implemented message for --replace) (#236)
* implement --proxy, --no-proxy,  --use-certificate option  (#241)
* add --token-file option (#243)

---------

Co-authored-by: Bhuvnesh Singh <bhuvnesh.singh@salesforce.com>
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.

3 participants