2026-01-28 07:18:21 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
from argparse import Namespace
|
|
|
|
|
|
|
|
|
|
from ...Cmd import Cmd
|
2026-02-17 12:24:12 +01:00
|
|
|
from ..BeRefresh import BeRefresh as Base
|
2026-01-28 07:18:21 +01:00
|
|
|
|
2026-02-17 12:24:12 +01:00
|
|
|
class Refresh(Base):
|
2026-01-28 07:18:21 +01:00
|
|
|
|
|
|
|
|
def __init__(self, parent: Cmd):
|
|
|
|
|
super().__init__(parent)
|
|
|
|
|
|
|
|
|
|
async def run(self, args: Namespace):
|
2026-03-04 16:29:19 +00:00
|
|
|
return await self.util.apt_get(['update'])
|