Skip to content
Snippets Groups Projects
Commit 96d75612 authored by Moul's avatar Moul
Browse files

[mod] #264: Disable 'net' command

parent 3dccbbfd
No related branches found
No related tags found
2 merge requests!146Merge dev into master branch to complete v0.8.0 development cycle,!133Disable 'net' command | Move convert_time() to tui.py
...@@ -29,7 +29,8 @@ from silkaj.commands import ( ...@@ -29,7 +29,8 @@ from silkaj.commands import (
argos_info, argos_info,
list_blocks, list_blocks,
) )
from silkaj.net import network_info
# from silkaj.net import network_info
from silkaj.wot import received_sent_certifications, id_pubkey_correspondence from silkaj.wot import received_sent_certifications, id_pubkey_correspondence
from silkaj.auth import generate_auth_file from silkaj.auth import generate_auth_file
from silkaj.license import license_command from silkaj.license import license_command
...@@ -107,7 +108,7 @@ cli.add_command(transaction_history) ...@@ -107,7 +108,7 @@ cli.add_command(transaction_history)
cli.add_command(id_pubkey_correspondence) cli.add_command(id_pubkey_correspondence)
cli.add_command(currency_info) cli.add_command(currency_info)
cli.add_command(license_command) cli.add_command(license_command)
cli.add_command(network_info) # cli.add_command(network_info)
cli.add_command(send_transaction) cli.add_command(send_transaction)
cli.add_command(verify_blocks_signatures) cli.add_command(verify_blocks_signatures)
cli.add_command(received_sent_certifications) cli.add_command(received_sent_certifications)
......
...@@ -15,6 +15,7 @@ You should have received a copy of the GNU Affero General Public License ...@@ -15,6 +15,7 @@ You should have received a copy of the GNU Affero General Public License
along with Silkaj. If not, see <https://www.gnu.org/licenses/>. along with Silkaj. If not, see <https://www.gnu.org/licenses/>.
""" """
"""
from click import command, option, get_terminal_size from click import command, option, get_terminal_size
from datetime import datetime from datetime import datetime
from os import system from os import system
...@@ -139,3 +140,5 @@ async def network_info(discover, sort): ...@@ -139,3 +140,5 @@ async def network_info(discover, sort):
) )
infos = sorted(infos, key=get_network_sort_key) infos = sorted(infos, key=get_network_sort_key)
print(tabulate(infos, headers="keys", tablefmt="orgtbl", stralign="center")) print(tabulate(infos, headers="keys", tablefmt="orgtbl", stralign="center"))
"""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment