Skip to content

Commit

Permalink
notebook command
Browse files Browse the repository at this point in the history
  • Loading branch information
naderkhalil committed Nov 13, 2023
1 parent 334bd1c commit 4f4be6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ func createCmdTree(cmd *cobra.Command, t *terminal.Terminal, loginCmdStore *stor
cmd.AddCommand(tasks.NewCmdConfigure(t, noLoginCmdStore))
cmd.AddCommand(initfile.NewCmdInitFile(t, noLoginCmdStore))
cmd.AddCommand(hello.NewCmdHello(t, noLoginCmdStore))
cmd.AddCommand(notebook.NewCmdNotebook(noLoginCmdStore, t))
// dev feature toggle
if featureflag.IsDev() {
_ = 0 // noop
cmd.AddCommand(notebook.NewCmdNotebook(noLoginCmdStore, t))
cmd.AddCommand(test.NewCmdTest(t, noLoginCmdStore))
cmd.AddCommand(approve.NewCmdApprove(t, loginCmdStore))
cmd.AddCommand(clipboard.EstablishConnection(t, loginCmdStore))
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/notebook/notebook.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func NewCmdNotebook(store NotebookStore, _ *terminal.Terminal) *cobra.Command {
urlType := color.New(color.FgCyan, color.Bold).SprintFunc()
warningType := color.New(color.FgBlack, color.Bold, color.BgCyan).SprintFunc()

hello.TypeItToMeUnskippable27("\n" + warningType(" Please keep this terminal open 🤙 "))
hello.TypeItToMeUnskippable("\n" + warningType(" Please keep this terminal open 🤙 "))

hello.TypeItToMeUnskippable27("\nClick here to go to your Jupyter notebook:\n\t 👉" + urlType("http://localhost:8888") + "👈\n\n\n")

Expand Down

0 comments on commit 4f4be6e

Please sign in to comment.