Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.
This repository was archived by the owner on May 3, 2023. It is now read-only.

feature: Simplify usage #17

Open

Description

@keegancsmith

Why don't we update Thyme CLI to have really smart defaults + "watch" built in. IE a user should just be able to run

$ thyme track
<ctrl-c>
$ thyme show
# opens thyme.html similiar to how go pprof opens webbrowser for svgs

and it would magically work.

Activity

  1. dufferzafar commented on Aug 17, 2016

    @dufferzafar

    Going one step further, can't we just make all that transparent?

    Just run thyme once, and it starts tracking in the background, dumping json etc.

    It also opens up a local webserver to serve the output html file, so to view the current results, just goto localhost:6090 and they'll be served to you!

  2. HalfVoxel commented on Aug 17, 2016

    @HalfVoxel

    I don't think it is a good idea to start a web server without an explicit action from the user. But maybe a flag to be able to track and keep a server open at the same time would be a good idea.

    Like

    thyme --track --show
    
  3. seletskiy commented on Aug 17, 2016

    @seletskiy
    Contributor

    @dufferzafar: No, it's part of the service manager job to daemonize tools, not tool by itself. E.g., using systemd, there should be .service file managing that.

  4. beyang commented on Aug 18, 2016

    @beyang
    Contributor

    I like this idea. Will happily accept a PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions