Skip to content

Support for single host #20

Closed
Closed

Description

@ehsandeep

Hi @tomnomnom,

Thank you for actively developing this project, I would like to request minor improvement for this project.

Currently, meg supports suffix and prefix format, where we can feed both lists and it will process them accordingly, it would be nice and helpful for the quick test if we can feed single host as well along with existing option.

Example:

meg suffix http://example.com

Thank you.

Activity

  1. tomnomnom commented on Jan 3, 2018

    @tomnomnom
    Owner

    @MadaraTech great idea! I think that will make doing quick tests a lot easier.

    I think it would be a good time to have a change of terminology before the project goes much further too.

    I've been using the prefix/suffix terminology for a while now, but I don't think it's very descriptive. Do you think 'server' and 'path' is a good choice?

  2. ehsandeep commented on Jan 3, 2018

    @ehsandeep
    Author

    Yeah, prefix/suffix is not very relatable to the project, anyway users going to use there own filename to feed, but in general terminology for this project, I would suggest, path-list/host-list or path/host.

    Regards.

  3. tomnomnom commented on Jan 3, 2018

    @tomnomnom
    Owner

    The terminology change has been done in 8bfa2d0

    I wanted to get that out of the way before doing this as it would have just been more code to change :D

  4. tomnomnom commented on Jan 3, 2018

    @tomnomnom
    Owner

    @MadaraTech while I remember: until this is implemented you can use a little bash trick to turn command output into a file descriptor and get the behaviour you want this way:

    ▶ meg -v /robots.txt <(echo https://example.com)
    out/example.com/7c8443b50dd91de51d5f152effc9c70a45cc4e7c https://example.com/robots.txt (404 Not Found)
    
  5. tomnomnom commented on Jan 7, 2018

    @tomnomnom
    Owner

    @MadaraTech this has been done in 03d2130, and tagged and released as v0.2.1

    Let me know if you hit any problems with it :)

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