Default service

Asked by Alexander Skwar

Hello.

How do I set a "default service" which the surl CLI surl.py is supposed to use? Is there some sort of rc / configuration file?

Alexander

Question information

Language:
English Edit question
Status:
Solved
For:
surl Edit question
Assignee:
No assignee Edit question
Solved by:
Savvas Radevic
Solved:
Last query:
Last reply:
Revision history for this message
Ahmed El-Mahdawy (propeng) said :
#1

Hello,

Currently, you must supply a service name every time you make a request (for example "surl -c http://example.com -s sn.im"). However, you can always file a bug requesting that a feature should be implemented.

Revision history for this message
Best Savvas Radevic (medigeek) said :
#2

On top of that, you can always hack into it. :)
Find surl.py and the line matching:

'service' : 'tinyurl.com',

Change that line and/or other configuration lines around that line.

Revision history for this message
Alexander Skwar (a.skwar) said :
#3

Thanks to both of you.