URL: https://github.com/freeipa/freeipa/pull/579
Author: HonzaCholasta
 Title: #579: csrgen: hide cert-get-requestdata in CLI
Action: opened

PR body:
"""
The CSR generation feature is supposed to be used from cert-request, hide
the internal cert-get-requestdata command in the CLI.

https://fedorahosted.org/freeipa/ticket/4899
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/579/head:pr579
git checkout pr579
From a4e6ffe24b201136a81480a3d7556fc49b8cfee5 Mon Sep 17 00:00:00 2001
From: Jan Cholasta <jchol...@redhat.com>
Date: Tue, 14 Mar 2017 06:25:19 +0000
Subject: [PATCH] csrgen: hide cert-get-requestdata in CLI

The CSR generation feature is supposed to be used from cert-request, hide
the internal cert-get-requestdata command in the CLI.

https://fedorahosted.org/freeipa/ticket/4899
---
 ipaclient/plugins/csrgen.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ipaclient/plugins/csrgen.py b/ipaclient/plugins/csrgen.py
index 0669a47..595631f 100644
--- a/ipaclient/plugins/csrgen.py
+++ b/ipaclient/plugins/csrgen.py
@@ -28,6 +28,8 @@
 class cert_get_requestdata(Local):
     __doc__ = _('Gather data for a certificate signing request.')
 
+    NO_CLI = True
+
     takes_options = (
         Principal(
             'principal',
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to