Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shortcuts for the main hosts file to compare. #17

Open
StevenBlack opened this issue Apr 26, 2021 · 1 comment
Open

Add shortcuts for the main hosts file to compare. #17

StevenBlack opened this issue Apr 26, 2021 · 1 comment
Assignees

Comments

@StevenBlack
Copy link
Owner

Presently if we just say,

$ ghosts

We use default to https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts as the main hosts file.

Introduce shortcuts, such that

$ ghosts -m f  ## uses the fakenews hosts file

$ ghosts -m fs  ## uses the fakenews and social media hosts file

$ ghosts -m gfs  ## uses the gambling, fakenews, and social media hosts file

The shortcuts are to be in alphabetic order.

Use b or base as a shortcut for the base hosts file.

@StevenBlack StevenBlack self-assigned this Apr 26, 2021
StevenBlack added a commit that referenced this issue Apr 26, 2021
Also make defaultMainHosts equal to the "base" shortcut code.
StevenBlack added a commit that referenced this issue Apr 26, 2021
@StevenBlack
Copy link
Owner Author

StevenBlack commented Apr 26, 2021

Still todo:

  • Document the shortcuts
  • Tests for the shortcuts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant