# floyd init tv-script-generation
floyd run --gpu --env tensorflow-1.0 --mode jupyter | \
tee /dev/tty | \
grep 'floyd logs' | sed 's/logs/stop/' > stop-floyd.sh

# floyd init tv-script-generation
floyd run --gpu --env tensorflow-1.0 --mode jupyter 2>&1 | \
tee /dev/tty | \
grep 'floyd logs' | sed 's/logs/stop/' > stop-floyd.sh

Fix script to start and stop floyd
Fix script to start and stop floyd

Floyd CLI outputs to standard output and standard error.
