finga
a468c5d7bb
Move install section into its own file
...
To keep the readme manageable and clear move help about how to build,
install and run into its own file.
2021-07-07 19:40:14 +02:00
finga
07decf7b36
Add debian package build information in readme
...
Add prerequisites for building a debian package.
2021-07-07 19:30:18 +02:00
finga
9aae14feae
Refactor commands to support different backends
...
Therefore also the `sysv` backend is intoduced to prepare for future
support. The man page and the readme are updated so far.
2021-07-07 19:19:19 +02:00
finga
4020f062ef
Add new subcommand list
...
Also add it to the readme and manpage.
2021-07-07 18:27:41 +02:00
finga
12b117db7e
Refactor logging
...
To supporte more than a single log level `log` and `env_logger` crates
are used. For the application to support the different type of
argument, the verbose argument definition was adapted.
2021-07-07 17:13:08 +02:00
finga
6a41335603
Cargo update
2021-06-30 22:50:07 +02:00
finga
c2ad74ff15
Remove pub
declarations and move to posix::*
...
This is in order to prepare also for SysV message queues.
2021-06-30 22:46:33 +02:00
finga
606b4de524
Use a fn for verbose output when sending
2021-06-27 03:02:45 +02:00
finga
f0fb50bc24
Improve help text
2021-06-27 03:02:41 +02:00
finga
d88d69bbb1
Raise version to 0.1.1
...
- Improve `Duration` parsing needed for the timeout command line
argument
2021-06-27 02:47:47 +02:00
finga
19130056ee
Expect instead of a lousy unwrap with comment
2021-06-27 02:47:47 +02:00
finga
83e4ff36e5
Use the humantime
crate to parse Duration
2021-06-27 02:47:27 +02:00
finga
851a387c82
Cargo update and fix package version
2021-06-27 02:37:25 +02:00
finga
2a8488f7a8
Add manpage
...
The manpage gets also installed with the debian package.
2021-06-26 23:11:57 +02:00
finga
ac115a6966
Fix readme and clap help
2021-06-26 23:10:11 +02:00
finga
8be1b23bad
Fix wrong help message
2021-06-22 01:39:24 +02:00
finga
3e437b59be
Add informations about commands to readme
2021-06-22 01:38:52 +02:00
finga
4633b7a4d8
Rename mode
clap parameter to permissions
...
Rename the clap parameter when creating a new message queue `mode` to
`permissions`.
2021-06-22 01:36:00 +02:00
finga
bcefd6241b
Move clap options and types into main
2021-06-20 18:16:21 +02:00
finga
487d5a9971
Support cargo-deb
and fix readme
2021-06-20 18:16:21 +02:00
finga
c33294f00b
Issue templates for gitea
2021-06-20 18:16:19 +02:00
finga
ddd9ce9a84
Add readme and improve description
2021-06-20 17:12:05 +02:00
finga
1100ba1b13
Support timeout and deadline parameters for send
...
Add support for timeout and deadline parameters when messages are sent
to a message queue. To keep code duplication small, the `utils.rs`
file contains a helper function to parse the `Duration` from the
`String` received from the timeout parameter. Add conflict rules for
the timeout and deadline parameters.
2021-06-20 16:49:40 +02:00
finga
9b52305285
Rename queue help name
2021-06-20 16:35:20 +02:00
finga
3572b12a1a
Receive message(s) from a queue
...
This subcommand receives one or more messages from a queue. Three
different methods are supported, read message by message, read until a
given timout or read until a specified date and time. This subcommand
also supports the `--non-blocking` flag.
2021-06-20 16:35:18 +02:00
finga
36d9e8c02c
Send a message to a queue
2021-06-14 23:01:24 +02:00
finga
33f0bf8312
Print infos about a message queue
2021-06-14 23:01:24 +02:00
finga
fe877b230c
Remove a message queue
2021-06-14 23:01:24 +02:00
finga
fdacba1eec
Create a message queue
...
The create command creates a new message queue with support of the
typical parameters `mode`, `capacity` and `msgsize`. This command also
supports the global argument `verbose`.
2021-06-14 23:01:14 +02:00
finga
2b96bcc562
Initial commit
...
To implement commands `clap` is used to parse arguments.
2021-06-14 03:05:23 +02:00