Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NETDB Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
NETDB Client
Merge requests
!1
Click support and argument deprecation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Click support and argument deprecation
cli-utils
into
devel
Overview
14
Commits
6
Pipelines
0
Changes
7
All threads resolved!
Show all comments
Merged
Dominik Rimpf
requested to merge
cli-utils
into
devel
7 months ago
Overview
14
Commits
6
Pipelines
0
Changes
7
All threads resolved!
Show all comments
Expand
Hab auch demos für alles mal gebaut :)
Edited
7 months ago
by
Dominik Rimpf
0
0
Merge request reports
Compare
devel
version 5
28cd85c9
5 months ago
version 4
31a75996
5 months ago
version 3
ec8a339b
7 months ago
version 2
c8210a71
7 months ago
version 1
09e6144c
7 months ago
devel (base)
and
version 2
latest version
8825d32b
6 commits,
5 months ago
version 5
28cd85c9
6 commits,
5 months ago
version 4
31a75996
5 commits,
5 months ago
version 3
ec8a339b
4 commits,
7 months ago
version 2
c8210a71
2 commits,
7 months ago
version 1
09e6144c
2 commits,
7 months ago
7 files
+
358
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
demos/argparse-example.py
0 → 100644
+
14
−
0
Options
from
netdb_client.api41
import
APIEndpoint
,
APISession
,
dns
from
netdb_client
import
util
parser
=
util
.
ArgumentParser
()
args
=
parser
.
parse_args
()
endpoint
=
APIEndpoint
(
**
vars
(
args
))
api
=
APISession
(
endpoint
)
fqdn
=
dns
.
Fqdn
.
list
(
api
,
value_old
=
'
net.scc.kit.edu
'
)
print
(
fqdn
)
Loading