Skip to content

Commit

Permalink
Remove easter egg
Browse files Browse the repository at this point in the history
And thereby remove any debate about its appropriateness.
  • Loading branch information
sirosen committed Nov 1, 2023
1 parent 9ed0c57 commit 4e650d1
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions src/globus_cli/commands/timer/resume.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,6 @@
)


def _full_speed_ahead(ctx: click.Context, param: click.Parameter, value: bool) -> None:
# this easter egg has no effects other than printing a message
# this choice was made to ensure that there are no important behaviors which are
# impacted by it, or which *require* its use
if value:
click.secho(
r'''
___ __ __
/ _ \ ___ _ __ _ ___ / /_ / / ___
/ // // _ `// ' \ / _ \ / __// _ \/ -_)
/____/ \_,_//_/_/_//_//_/ \__//_//_/\__/
__ __
/ /_ ___ ____ ___ ___ ___/ /___ ___ ___
/ __// _ \ / __// _ \/ -_)/ _ // _ \/ -_)(_-< _
\__/ \___//_/ / .__/\__/ \_,_/ \___/\__//___/( )
/_/ |/
___ __ __ __ __ __ __
/ _/__ __ / // / ___ ___ ___ ___ ___/ / ___ _ / / ___ ___ _ ___/ // /
/ _// // // // / (_-< / _ \/ -_)/ -_)/ _ / / _ `// _ \/ -_)/ _ `// _ //_/
/_/ \_,_//_//_/ /___// .__/\__/ \__/ \_,_/ \_,_//_//_/\__/ \_,_/ \_,_/(_)
/_/
. o ..
o . o o.o
...oo
__[]__
__|_o_o_o\__
\""""""""""/
\. .. . /
^^^^^^^^^^^^^^^^^^^^
'''
)


@command("resume", short_help="Resume a timer")
@click.argument("TIMER_ID", type=click.UUID)
@click.option(
Expand All @@ -66,13 +31,6 @@ def _full_speed_ahead(ctx: click.Context, param: click.Parameter, value: bool) -
"if additional steps are required to successfully resume the timer."
),
)
@click.option(
"--damn-the-torpedoes",
expose_value=False,
is_flag=True,
hidden=True,
callback=_full_speed_ahead,
)
@LoginManager.requires_login("timer")
def resume_command(
login_manager: LoginManager,
Expand Down

0 comments on commit 4e650d1

Please sign in to comment.