mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-25 16:42:07 +01:00
Add documentation to ListProfiles command
This commit is contained in:
parent
7e12da400b
commit
8a9f535531
1 changed files with 10 additions and 0 deletions
|
@ -8,8 +8,18 @@ import sop.Profile;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Subcommand to list supported profiles of other subcommands.
|
||||
*/
|
||||
public interface ListProfiles {
|
||||
|
||||
/**
|
||||
* Provide the name of the subcommand for which profiles shall be listed.
|
||||
* The returned list of profiles MUST NOT contain more than 4 entries.
|
||||
*
|
||||
* @param command command name (e.g. <pre>generate-key</pre>)
|
||||
* @return list of profiles.
|
||||
*/
|
||||
List<Profile> subcommand(String command);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue