Swiftpack.co -  MartinMetselaar/vragen-cli as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Command Line Interface of Vragen. Is used to create surveys, questions and answers and export all the answered questions
.package(url: "https://github.com/MartinMetselaar/vragen-cli.git", from: "1.0.0")

Vragen CLI

Command Line Interface to maintain your vragen-api. You can use this to create, update, delete surveys or export the results from your survey.




$ mint install MartinMetselaar/vragen-cli


Download the latest vragen.zip from Releases. Unzip the vragen.zip and move the file to /usr/local/bin/.


$ vragen init --server vragen-api.example.org --token admin-token

Replace vragen-api.example.org with your server and the admin-token with your ADMIN_TOKEN.


Create a survey

$ vragen surveys create --title "First survey"

which returns an UUID which is the survey id and can be used to create a question.

Replace survey-id with the previous displayed survey id.

$ vragen questions create --survey survey-id --title "First question"

which returns an UUID wich can be used to create an answer.

$ vragen answers create --survey survey-id --question question-id --title "First answer"


$ vragen --help 


Stars: 0
Last commit: 48 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

Ask away 🎉
48 weeks ago

Everything you need to maintain your surveys

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics