Skip to content

Conversation

@pritambaral
Copy link
Contributor

Remembering to type -u is such a chore. How about we just let computers do the heavy lifting and guess the input? This PR attempts to smarten reddwall and make it guess the type of input supplied. The flags -u and -f can still be used to force a URL or file, respectively.

Valid usages are now:
```
reddwall EarthPorn
reddwall [-u] https://i.imgur.com/csdjcs
reddwall [-f] Pictures/lena.jpg
```
The flags -u/-f force types
@iamrahil
Copy link
Owner

might fail if there exists a file in the same directory with the same name as, lets say, a subreddit

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

Successfully merging this pull request may close these issues.

2 participants