https://github.com/choueric/arty
https://github.com/choueric/arty
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/choueric/arty
- Owner: choueric
- License: mit
- Created: 2022-06-22T07:52:27.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-04T23:10:52.000Z (over 3 years ago)
- Last Synced: 2025-01-21T16:32:07.111Z (over 1 year ago)
- Language: Dart
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Intro
An Dart program to access Jfrog Artifactory using its RESTful API:
https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-RetrieveArtifact
# Configuration
The configuration file is `$HOME/.arty.json`. Example:
```json
{
"current": "kernel",
"baseUri": "https://artifact.xxx.com/artifactory",
"token": "kajfjafjfjfjfjadjf",
"repoList": [
{
"name": "kernel",
"key": "linux-kernel",
"folderPath": "fw/new"
}
]
}
```
# Commands
- list: list the repositories in configuration file.
- choose: change the current repo
- ls: list the folders or files on Artifactory.
- get: download one artifact on Artifactory with specified download URL.