Skip to content

Commit

Permalink
tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
jacalata committed May 7, 2024
1 parent c1ce84e commit 7653828
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion tabcmd/commands/datasources_and_workbooks/export_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from tabcmd.commands.auth.session import Session
from tabcmd.commands.constants import Errors
from tabcmd.execution.global_options import set_destination_filename_arg
from tabcmd.execution.localize import _
from tabcmd.execution.logger_config import log
from .datasources_and_workbooks_command import DatasourcesAndWorkbooks
Expand Down Expand Up @@ -57,7 +58,7 @@ def define_args(export_parser):
group.add_argument(
"--width", default=800, help="[Not Yet Implemented] Set the width of the image in pixels. Default is 800 px"
)
group.add_argument("--filename", "-f", help="filename to store the exported data")
set_destination_filename_arg(group)
group.add_argument("--height", default=600, help=_("export.options.height"))
group.add_argument(
"--filter",
Expand Down
1 change: 0 additions & 1 deletion tabcmd/commands/extracts/create_extracts_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def define_args(create_extract_parser):
set_encryption_option(group)
set_project_arg(group)
set_parent_project_arg(group)
set_resource_url_arg(group)

@staticmethod
def run_command(args):
Expand Down
5 changes: 0 additions & 5 deletions tabcmd/execution/global_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,6 @@ def set_destination_filename_arg(parser):
parser.add_argument("-f", "--filename", help=_("get.options.file"))


# export --- mmmaaaannnyyyy options
def set_filename_arg(parser, description=_("get.options.file")):
parser.add_argument("-f", "--filename", help=description)


def set_publish_args(parser):
parser.add_argument("-n", "--name", help=_("publish.options.name"))

Expand Down

0 comments on commit 7653828

Please sign in to comment.