diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-06-30 12:51:51 +0200 |
---|---|---|
committer | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-06-30 12:51:51 +0200 |
commit | dbf0f00650200b8b4817274953f2e0b684bd622d (patch) | |
tree | 1bf085f2502e9704a7e1bf46cfc44aa039da5292 | |
parent | f41b5f8f9dd5672864b2dfe995e73f259741fa8b (diff) |
Rename files to remove 'og' prefix
This prefix is redundant on almost every file, so the prefix is removed from
filenames and imports.
-rw-r--r-- | cli/__init__.py (renamed from ogcli/__init__.py) | 0 | ||||
-rw-r--r-- | cli/cli.py (renamed from ogcli/ogcli.py) | 6 | ||||
-rw-r--r-- | cli/objects/__init__.py (renamed from ogcli/objects/__init__.py) | 0 | ||||
-rw-r--r-- | cli/objects/client.py (renamed from ogcli/objects/og_client.py) | 0 | ||||
-rw-r--r-- | cli/objects/modes.py (renamed from ogcli/objects/modes.py) | 0 | ||||
-rw-r--r-- | cli/objects/scopes.py (renamed from ogcli/objects/og_scopes.py) | 0 | ||||
-rwxr-xr-x | ogcli (renamed from ogcli.py) | 2 |
7 files changed, 4 insertions, 4 deletions
diff --git a/ogcli/__init__.py b/cli/__init__.py index 8b13789..8b13789 100644 --- a/ogcli/__init__.py +++ b/cli/__init__.py diff --git a/ogcli/ogcli.py b/cli/cli.py index d8e66b7..30c1bb6 100644 --- a/ogcli/ogcli.py +++ b/cli/cli.py @@ -1,6 +1,6 @@ -from ogcli.objects.og_client import OgClient -from ogcli.objects.og_scopes import OgScope -from ogcli.objects.modes import OgModes +from cli.objects.client import OgClient +from cli.objects.scopes import OgScope +from cli.objects.modes import OgModes import argparse import requests import sys diff --git a/ogcli/objects/__init__.py b/cli/objects/__init__.py index e69de29..e69de29 100644 --- a/ogcli/objects/__init__.py +++ b/cli/objects/__init__.py diff --git a/ogcli/objects/og_client.py b/cli/objects/client.py index ca91036..ca91036 100644 --- a/ogcli/objects/og_client.py +++ b/cli/objects/client.py diff --git a/ogcli/objects/modes.py b/cli/objects/modes.py index bf175d6..bf175d6 100644 --- a/ogcli/objects/modes.py +++ b/cli/objects/modes.py diff --git a/ogcli/objects/og_scopes.py b/cli/objects/scopes.py index 0bf3ca8..0bf3ca8 100644 --- a/ogcli/objects/og_scopes.py +++ b/cli/objects/scopes.py @@ -1,6 +1,6 @@ #!/usr/bin/python -from ogcli.ogcli import OgCLI +from cli.cli import OgCLI import argparse import json import sys |