Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI should remove empty folder when removing a field #31

Open
jaybythebay opened this issue Mar 18, 2023 · 0 comments
Open

CLI should remove empty folder when removing a field #31

jaybythebay opened this issue Mar 18, 2023 · 0 comments

Comments

@jaybythebay
Copy link
Contributor

I'm not positive we want to change this behavior. Perhaps we'd just want a separate clean_folders command to remove empty folders

Add a folder:

tableau_utilities --clean_dir --location local --file_path '/Users/jayrosenthal/Downloads/test.tdsx' --save_tds datasource --column_name MY_COLUMN --folder_name 'My New Folder'

Move that single column back out of a folder

tableau_utilities --clean_dir --location local --file_path '/Users/jayrosenthal/Downloads/test.tdsx' --save_tds datasource --column_name MY_COLUMN --folder_name 'Original Folder'

'My New Folder' is still in the file which adds clutter.

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

No branches or pull requests

1 participant