from sheldon import Sheldon

# Simulate command line arguments
# TODO
bot = Sheldon({'config-prefix': 'SHELDON_',
               'adapter': 'console'})
print(bot.start())

@@ -1,8 +1,24 @@
+import argparse%0A
 from she
@@ -42,48 +42,410 @@
 on%0A%0A
-# Simulate command line arguments%0A# TODO
+parser = argparse.ArgumentParser(description='Start bot')%0Aparser.add_argument('--config-prefix', type=str, default='SHELDON_',%0A                    help='a str from which starting all config variables')%0Aparser.add_argument('--adapter', type=str, default='console',%0A                    help='a str with name of adapter from adapters folder'%0A                         'or PyPi')%0Aargs = parser.parse_args()%0A
 %0Abot
@@ -473,26 +473,34 @@
 refix': 
-'SHELDON_'
+args.config_prefix
 ,%0A      
@@ -523,26 +523,24 @@
 r': 
-'console'%7D)%0Aprint(
+args.adapter%7D)%0A%0A
 bot.
@@ -546,10 +546,9 @@
 .start()
-)
 %0A

Add console arguments parsing to start script