blob: df7a1f78b61a8009810869e0cfa6e8e395ae3755 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#
# Copyright 2018 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
#
""" Returns information about a module """
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
import click
from ..core import ModToolInfo
from .base import common_params, run
@click.command('info')
@click.option('--python-readable', is_flag=True,
help="Return the output in a format that's easier to read for Python scripts.")
@click.option('--suggested-dirs',
help="Suggest typical include dirs if nothing better can be detected.")
@common_params
def cli(**kwargs):
""" Return information about a given module """
self = ModToolInfo(**kwargs)
run(self)
|