AlkirAPI -> AlkiraAPI
This commit is contained in:
parent
25d9043322
commit
465a2620aa
2
clean.py
2
clean.py
|
@ -27,7 +27,7 @@ import configparser
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
# Parse all arguments
|
# Parse all arguments
|
||||||
parser = argparse.ArgumentParser(description="Clean Alkira tenant config with AlkirAPI")
|
parser = argparse.ArgumentParser(description="Clean Alkira tenant config with AlkiraAPI")
|
||||||
parser.add_argument("-t", "--tenant", type=str, default='alkira.cnf', help="location of alikira.cnf (default: alkira.cnf)")
|
parser.add_argument("-t", "--tenant", type=str, default='alkira.cnf', help="location of alikira.cnf (default: alkira.cnf)")
|
||||||
parser.add_argument("-v", "--verbose", type=int, default=0, help="Verbose level 0 or 1 (default: 0)")
|
parser.add_argument("-v", "--verbose", type=int, default=0, help="Verbose level 0 or 1 (default: 0)")
|
||||||
parser.add_argument("-p", "--pretty", help="make the JSON pretty!", action="store_true")
|
parser.add_argument("-p", "--pretty", help="make the JSON pretty!", action="store_true")
|
||||||
|
|
2
get.py
2
get.py
|
@ -27,7 +27,7 @@ import configparser
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
# Parse all arguments
|
# Parse all arguments
|
||||||
parser = argparse.ArgumentParser(description="Get JSON config to AlkirAPI")
|
parser = argparse.ArgumentParser(description="Get JSON config to AlkiraAPI")
|
||||||
parser.add_argument("-t", "--tenant", type=str, default='alkira.cnf', help="location of alikira.cnf (default: alkira.cnf)")
|
parser.add_argument("-t", "--tenant", type=str, default='alkira.cnf', help="location of alikira.cnf (default: alkira.cnf)")
|
||||||
parser.add_argument("-v", "--verbose", type=int, default=0, help="Verbose level 0 or 1 (default: 0)")
|
parser.add_argument("-v", "--verbose", type=int, default=0, help="Verbose level 0 or 1 (default: 0)")
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ import configparser
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
# Parse all arguments
|
# Parse all arguments
|
||||||
parser = argparse.ArgumentParser(description="Push JSON config to AlkirAPI (debug)")
|
parser = argparse.ArgumentParser(description="Push JSON config to AlkiraAPI (debug)")
|
||||||
parser.add_argument("-t", "--tenant", type=str, default='alkira.cnf', help="location of alikira.cnf (default: alkira.cnfi)")
|
parser.add_argument("-t", "--tenant", type=str, default='alkira.cnf', help="location of alikira.cnf (default: alkira.cnfi)")
|
||||||
parser.add_argument("-f", "--file", type=str, help="location of the JSON connector file")
|
parser.add_argument("-f", "--file", type=str, help="location of the JSON connector file")
|
||||||
parser.add_argument("-p", "--pretty", help="make the JSON pretty!", action="store_true")
|
parser.add_argument("-p", "--pretty", help="make the JSON pretty!", action="store_true")
|
||||||
|
|
2
push.py
2
push.py
|
@ -27,7 +27,7 @@ import configparser
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
# Parse all arguments
|
# Parse all arguments
|
||||||
parser = argparse.ArgumentParser(description="Push JSON config to AlkirAPI")
|
parser = argparse.ArgumentParser(description="Push JSON config to AlkiraAPI")
|
||||||
parser.add_argument("-t", "--tenant", type=str, default='alkira.cnf', help="location of alikira.cnf (default: alkira.cnf)")
|
parser.add_argument("-t", "--tenant", type=str, default='alkira.cnf', help="location of alikira.cnf (default: alkira.cnf)")
|
||||||
parser.add_argument("-f", "--folder", type=str, default='config', help="location of the JSON connector files (default: config)")
|
parser.add_argument("-f", "--folder", type=str, default='config', help="location of the JSON connector files (default: config)")
|
||||||
parser.add_argument("-c", "--config", type=str, default='connectors.cnf', help="location of the connector config (default: config/connectors.cnf)")
|
parser.add_argument("-c", "--config", type=str, default='connectors.cnf', help="location of the connector config (default: config/connectors.cnf)")
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright 2022, Mischa Peters <mischa AT alkira DOT net>, Alkira.
|
# Copyright 2022, Mischa Peters <mischa AT alkira DOT net>, Alkira.
|
||||||
|
# wip-users.py
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and distribute this software for any
|
# Permission to use, copy, modify, and distribute this software for any
|
||||||
# purpose with or without fee is hereby granted, provided that the above
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
Loading…
Reference in New Issue