added path and updated config
This commit is contained in:
@@ -21,67 +21,55 @@ repos:
|
|||||||
verified: ''
|
verified: ''
|
||||||
alias: 'fh'
|
alias: 'fh'
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: drctrycntnts
|
alias: dcs
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: directory-content-scanner
|
repository: directory-content-scanner
|
||||||
|
command: scan.py
|
||||||
verified: efcfc585d7a396ff7983196a621256a64728438b
|
verified: efcfc585d7a396ff7983196a621256a64728438b
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: blkstrngrplc
|
alias: bsr
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: bulk-string-replacer
|
repository: bulk-string-replacer
|
||||||
|
command: replace_string.py
|
||||||
verified: c7bf51941b691eea3cb8536d0f4e18427ba916e8
|
verified: c7bf51941b691eea3cb8536d0f4e18427ba916e8
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: mgrszrcl
|
alias: ircli
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: image-resizer-cli
|
repository: image-resizer-cli
|
||||||
verified: ee279a127fd1f4a2b9c4a3a9de86b3a0ad8cf8ce
|
verified: ee279a127fd1f4a2b9c4a3a9de86b3a0ad8cf8ce
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: mdsrtngtls
|
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: media-sorting-tools
|
repository: media-sorting-tools
|
||||||
verified: 2cb735f45a15c3cadb8edc948d5f5f03e79fcb1a
|
verified: 2cb735f45a15c3cadb8edc948d5f5f03e79fcb1a
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: nsblncryptr
|
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: ansible-encryptor
|
repository: ansible-encryptor
|
||||||
verified: 0053384aa0aa85dcef764a8b74c03a72537d0115
|
verified: 0053384aa0aa85dcef764a8b74c03a72537d0115
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: fdrtdtcntrls
|
alias: lim
|
||||||
provider: github.com
|
|
||||||
repository: federated-to-central-social-network-bridge
|
|
||||||
verified: 1f6ace3fe84cb537436839a8a8164f1dc7b6e0c3
|
|
||||||
- account: kevinveenbirkenbach
|
|
||||||
alias: lnxmgmngr
|
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: linux-image-manager
|
repository: linux-image-manager
|
||||||
verified: 13454c7e8722b344723dbe6a997102672edce105
|
verified: 13454c7e8722b344723dbe6a997102672edce105
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: dckrvlmbckp
|
alias: dfh
|
||||||
provider: github.com
|
|
||||||
repository: docker-volume-backup
|
|
||||||
verified: f847c8dd74c6c69067fd2a3591f7ec6fafefc9e0
|
|
||||||
- account: kevinveenbirkenbach
|
|
||||||
alias: dplctflhndlr
|
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: duplicate-file-handler
|
repository: duplicate-file-handler
|
||||||
verified: 89e15dd023aee82190bacaadc337c282b91f5357
|
verified: 89e15dd023aee82190bacaadc337c282b91f5357
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: crtlnxswpfl
|
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: create-linux-swapfile
|
repository: create-linux-swapfile
|
||||||
verified: d68cc2c18ea10f6c494bbd6a425f51d99f30a601
|
verified: d68cc2c18ea10f6c494bbd6a425f51d99f30a601
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: spltdscrt
|
alias: spltscrt
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: splitted-secret
|
repository: splitted-secret
|
||||||
verified: 44b2db0cbc03101ef43aff73eef1ab6ed011b9f5
|
verified: 44b2db0cbc03101ef43aff73eef1ab6ed011b9f5
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: drctryvldtr
|
alias: dirval
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: directory-validator
|
repository: directory-validator
|
||||||
verified: 73a29a092adaf4d513bc23357b7700d690d5a663
|
verified: 73a29a092adaf4d513bc23357b7700d690d5a663
|
||||||
- account: kevinveenbirkenbach
|
- account: kevinveenbirkenbach
|
||||||
alias: lkskymngmnts
|
alias: lukskeymng
|
||||||
provider: github.com
|
provider: github.com
|
||||||
repository: luks-key-management-script
|
repository: luks-key-management
|
||||||
verified: 2f5fe1a73f5ce6d661679083bde6d56b19b867f1
|
|
||||||
11
main.py
11
main.py
@@ -496,6 +496,9 @@ if __name__ == "__main__":
|
|||||||
config_ignore = config_subparsers.add_parser("ignore", help="Set ignore flag for repository entries in user config")
|
config_ignore = config_subparsers.add_parser("ignore", help="Set ignore flag for repository entries in user config")
|
||||||
add_identifier_arguments(config_ignore)
|
add_identifier_arguments(config_ignore)
|
||||||
config_ignore.add_argument("--set", choices=["true", "false"], required=True, help="Set ignore to true or false")
|
config_ignore.add_argument("--set", choices=["true", "false"], required=True, help="Set ignore to true or false")
|
||||||
|
path_parser = subparsers.add_parser("path", help="Print the path(s) of repository/repositories")
|
||||||
|
add_identifier_arguments(path_parser)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
@@ -553,6 +556,14 @@ if __name__ == "__main__":
|
|||||||
selected = all_repos_list if args.all or (not args.identifiers) else resolve_repos(args.identifiers, all_repos_list)
|
selected = all_repos_list if args.all or (not args.identifiers) else resolve_repos(args.identifiers, all_repos_list)
|
||||||
selected = filter_ignored(selected)
|
selected = filter_ignored(selected)
|
||||||
checkout_repos(selected, base_dir, all_repos_list, args.extra_args, preview=args.preview)
|
checkout_repos(selected, base_dir, all_repos_list, args.extra_args, preview=args.preview)
|
||||||
|
elif args.command == "path":
|
||||||
|
selected = all_repos_list if args.all or (not args.identifiers) else resolve_repos(args.identifiers, all_repos_list)
|
||||||
|
selected = filter_ignored(selected)
|
||||||
|
paths = [
|
||||||
|
os.path.join(base_dir, repo.get("provider"), repo.get("account"), repo.get("repository"))
|
||||||
|
for repo in selected
|
||||||
|
]
|
||||||
|
print(" ".join(paths))
|
||||||
elif args.command == "config":
|
elif args.command == "config":
|
||||||
if args.subcommand == "show":
|
if args.subcommand == "show":
|
||||||
if args.all or (not args.identifiers):
|
if args.all or (not args.identifiers):
|
||||||
|
|||||||
Reference in New Issue
Block a user